Hi Thierry, I also would expect that to work, and it has bitten me sometimes already. However, to code around it use a do statement: repeat with x=1 to 3 do "put empty into myvar"&x end repeat Hope that helps, Malte