Being dumb with "repeat" and "&"

Judy Perry katheryn.swynford at gmail.com
Wed Aug 1 12:29:23 EDT 2007


Hi,

Maybe it's the Florida vacation humidity affecting my already feeble
brain, but I'm having problems with the following:

repeat with n = 1 to 15
put "penny" & n into myPenny
hide image myPenny
end repeat

I get:

Message execution error:
Error description: Chunk: no such object

when I run the handler from the message box.

HOWEVER, if I do this, manually, from the message box:

put "penny" & "1" into myPenny
hide image myPenny

it work.

Why?  Why isn't it working in the handler?  Any ideas?

Thank you,

Judy



More information about the use-livecode mailing list