Simple question re chunk expressions in variables

Klaus Major klaus at major-k.de
Thu Feb 24 13:59:09 EST 2005


Hi Mark,

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

you almost answered your question by yourself ;-)

...
put value(myVar) into field 1 of cd 1
...

> Thanks
> Mark

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list