Hi Thierry,

You cannot put one literal into another literal. In your case, you might want to use arrays:

put empty into myVar[x]

or a do statement:

do "put empty into myVar" & x

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz

Op 1-dec-2006, om 15:16 heeft Thierry het volgende geschreven:

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


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to