Array name from a variable

zryip theSlug zryip.theslug at gmail.com
Tue Jan 5 16:33:41 EST 2010


Sorry I've not take care that you used parentheses in the name of your array.

However check your manual page 151.I quoted it:
"The names of variables must consist of a single word and may contain
any combination
of letters, digits, and underscores (_). The first character must be
either a letter or an
underscore. You cannot use any Revolution RevTalk language word as a name of a
variable".

() are operator, so you can't used it in a name of a variable.

To duplicate an array this is really trivial, put it into another
variable like this:
put First_data_container into myCopyOfFirst_data_container

2010/1/5 Alejandro Tejada <capellan2000 at gmail.com>:
>
> Hi Zryip,
>
> Yes, you are correct.
> Using "Do" actually creates
> an array variable with the
> name requested. :-D
>
> But the example the i posted
> using parentheses fails:
> (First_data_container)
> this works fine:
> First_data_container
>
> Now, How could i make a copy
> of this new array?

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc



More information about the use-livecode mailing list