[TAO] value() to obtain pointer functionality

J. Landman Gay jacque at hyperactivesw.com
Sun Aug 3 21:32:37 EDT 2014


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




More information about the use-livecode mailing list