Keys of a custom property array
dunbarx at aol.com
dunbarx at aol.com
Sun Mar 3 01:33:40 EST 2013
Jacque.
I tried this:
on mouseUp
repeat with y = 1 to 4
put y into myArray[y]
end repeat
set the testArray of me to myArray
--try to get the keys directly
get the keys of the testArray of me --throws an error
combine the testArray of me using return --also throws an error
--put into a variable first always works
get the testArray of me
get the keys of it --gets the keys
end mouseUp
This seems like a straightforward attack, and it is thwarted.
Craig
-----Original Message-----
From: J. Landman Gay <jacque at hyperactivesw.com>
To: LiveCode Mailing List <use-livecode at lists.runrev.com>
Sent: Sun, Mar 3, 2013 1:06 am
Subject: Keys of a custom property array
If I store an array as a custom property, is there a way to get its keys
without putting the whole thing into a variable first?
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list