I know I've done this before but I can't seem to remember how at this point.
I want to make an indirect reference through a variable. For example, I
have a variable, tField, that contains this string: field Time of card 1
I want to put something into field Time via this variable. So I want
.nabble.com/Indirect-reference-tp4082209p4082233.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
You can't use
put something into myVariable
but as Andrew says you can make it work with a do statement.
As long as the variable contains a valid object reference, you can set
properties on the variable, so this will work also:
*put* field quote test quote into x
*set* the text of
Thank you everyone. These all do what I was after. I think I used to do it
using the field property as Geoff suggested. Funny how I just blanked out
about it this time.
I'm going to write myself a note about it in case I forget again. Now if I
can just remember where I put that note...
-Howard