Simple question re chunk expressions in variables

Alex Tweedly alex at tweedly.net
Thu Feb 24 13:46:13 EST 2005


Mark Swindell wrote:

> If a variable (myVar) holds a chunk expression like:
>
> line 1 to  35 of field 2
>
> how do I make the _value_ of that variable part of a line of code as in:
>
> Put myVar into field 1 of cd 1
>
> What it does with this syntax is simple put the contents of the 
> variable into field 1 of cd 1.  I want it to put the text of line 1 to 
> 35 of field 2 into field 1 of cd 1.

do ( "put  " & myVar & " into field 1 of cd 1" )

(parens are probably unnecessary, but I like to use them to help me :-)

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005



More information about the use-livecode mailing list