Hmmm.

SetProps notwithstanding, one could;

on mouseUp
   put the name of fld 1 into hh
   set the abc of hh to "xyz"
end mouseUp

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.

Craig



--
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.

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to