[TAO] value() to obtain pointer functionality
Mike Kerner
MikeKerner at roadrunner.com
Sun Aug 3 22:19:14 EDT 2014
And this won't be truly great until I can
put "y" into x
put 1 into value(x)
because I can use this to get values but not set them, so I'm still stuck
with
do "put 1 into"&&x
On Sun, Aug 3, 2014 at 9:32 PM, J. Landman Gay <jacque at hyperactivesw.com>
wrote:
> On 8/3/2014, 7:52 PM, Kay C Lan wrote:
>
>> Just did a quick test, New Stack, one fld "testField", in the msg box:
>>
>> put "hello" into fld ("test" & "Field")
>>
>> works fine
>>
>
> It's very useful in repeat loops, for this sort of thing:
>
> repeat with x = 1 to the number of btns
> set the hilite of btn ("answer"&&x) to false
> end repeat
>
> It works for the name of any object. I don't know if the failure with
> custom properties is a bug or an oversight, but it is definitely
> inconsistent.
>
>
> --
> 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
>
--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
More information about the use-livecode
mailing list