Object Reference in Variable?
Richard Gaskin
ambassador at fourthworld.com
Fri Sep 26 02:37:46 EDT 2008
Scott Rossi wrote:
> I'm having trouble remembering how to get Rev to see object references in
> variables, as opposed to the variable data. For example, if I script:
>
> put the long id of field 1 into tField
> put the number of lines of tField
>
> I'll get '1' in the message box regardless of how may lines field 1
> contains. I could have sworn there was a way to get this work without using
> "do" or using "the text of tField". Is my memory faulty?
The only one I can think of offhand is "value", which executes at about
the same speed as "do":
put the long id of field 1 into tField
put the number of lines of value(tField)
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
More information about the use-livecode
mailing list