Keys of a custom property array

dunbarx at aol.com dunbarx at aol.com
Sun Mar 3 01:51:28 EST 2013


And I thought I was going to be clever by trying:


do "get the keys of the testArray of me"


No dice, but Peter's way works fine.


The question is: why?



get the keys of (the uArray of button "xyz") --works
get the keys of the uArray of button "xyz" --does not work
All I (thought I) knew about helping the parser do its thing comes to nought here. Each seems perfectly and unambiguously formed...
Craig


-----Original Message-----
From: Peter Haworth <pete at lcsql.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sun, Mar 3, 2013 1:38 am
Subject: Re: Keys of a custom property array


Hi Jacque,
I just tried:

get the keys of (the uArray of button "xyz")

... and got the keys of uArray.

Pete
lcSQL Software <http://www.lcsql.com>


On Sat, Mar 2, 2013 at 8:06 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> 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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
_______________________________________________
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