Field redistribution line by line

Klaus Major klaus at major-k.de
Mon Jan 12 17:55:06 EST 2004


Hi David,

> Hello Group,
> I'm having trouble with a script which takes individual lines from a 
> field
> and places them in various fields on another card (and stack).  The 
> basic
> structure involves a repeat loop which works through each line of the
> source field, assigning it a variable name, and then is supposed to 
> place
> each of those into separate fields in the destination card.  What's the
> proper syntax for this?  I can't make the
>     do "put tname" & x && "into fld fname" & x
> approach work.

Try this (no need to do "do" ;-)

...
  put value(tname & x) into fld (fname & x)
...


Hope that helps...

> Dave

Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list