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
__
Nov 17, 2011 at 9:39 PM, Howard Bornstein wrote:
> 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 "
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*
ev.com/Command/do
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Indirect-reference-tp4082209p4082233.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.ru
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"