Keys of a custom property array

dunbarx at dunbarx at
Sun Mar 3 00:33:40 CST 2013


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. 


-----Original Message-----
From: J. Landman Gay <jacque at>
To: LiveCode Mailing List <use-livecode at>
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
HyperActive Software           |

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription 


More information about the use-livecode mailing list