Page 1 of 1

About arrays

Posted: Fri Jul 23, 2010 11:29 am
by Pascal
Hello,

Two questions about arrays :
  • - are arrays global variable ?
    - do we have do declare arrays before using them, or are they created on the fly, in the script ?
Thanks

Re: About arrays

Posted: Fri Jul 23, 2010 10:48 pm
by bn
Hi Pascal
Arrays are Not globals, but you can Set a global to Be an array.

You don't have to declare an Array.
If you write
Put anyValue into myArray[1]
You create the array on the fly. Your Key 1 of your array myArray will contain anyValue
Regards
Bernd

Re: About arrays

Posted: Sat Jul 24, 2010 7:47 am
by Pascal
Thanks.