I think you can use array but it must be global.

I hope it helps


Carlos Ribeiro aka Elektron
Check my blog: http://indiegamedeveloper71.wordpress.com/