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 <jac...@hyperactivesw.com>
To: LiveCode Mailing List <use-livecode@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         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to