Problem creating set of variables

Thierry thierry.olive at univ-poitiers.fr
Fri Dec 1 09:16:25 EST 2006


hi all,

I submit you a strange problem I'm encountering. I want to create  
local variables with the following script:

repeat with x = 1 to 3
     put empty into ("Myvar" & x)
end repeat	

Surprisingly, this does not work. In fact it opens the Error window  
which indicates:

Type	Chunck: bad destination
Object	button
line		put empty into ("Myvar" & x)
hint		(

Has someone an idea of what is happening?

Thank,
Thierry





More information about the use-livecode mailing list