Arrays as custom properties?
Scott Rossi
scott at tactilemedia.com
Sun Mar 19 01:01:33 EST 2006
Recently, John Tregea wrote:
> I have been looking to see if I can set an array as a custom property of
> a group.
> ... I get an error message on execution that says "bad index expression"
Yes, you need to define an index for the array. Perhaps you mean something
like this:
set the myAccess["password"] of group "A" to gMyAccess
To retrieve:
get the myAccess["password"] of group "A"
Also, I believe a custom property must always be prefaced by "the".
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list