naming variables...

Christian Langers christian.langers at education.lu
Wed May 4 07:26:51 EDT 2005


Hello all,

how does it come that the simple "How do I create and use a numbered  
set of variables?" example
does not work in 2.5.1 ?


I badly need to collect contents of flds into variables which are  
used later in the script...

  repeat with x = 1 to 20
     put fld ("a"&x) into ("myVar" & x)
   end repeat

--> returns error : bad destination ???



So how do I manage this ?


Thanks for any help,


Christian
from Luxembourg
(11° C, rainy weather --> the weather widget in Tiger is awesome ;-) )


Mac OS X 10.4, iMac G4, 1.25MHZ, 1 Gb RAM



More information about the use-livecode mailing list