Storing and object reference in a var
dunbarx at aol.com
Wed Jan 25 09:09:24 EST 2017
SetProps notwithstanding, one could;
put the name of fld 1 into hh
set the abc of hh to "xyz"
This will indeed create a custom property (abc) of field 1 and set it to
"xyz". In this case LC evaluates the variable "hh" as an object reference. I
would have thought that a "do" construction would have been required here,
but not so.
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Storing-and-object-reference-in-a-var-tp4711908p4711922.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the Use-livecode