All the other solutions posted so far do not do what the orignal will. None of them
go through ALL of the right cases.
The correct way to do this is:
on rumpan
Repeat with i = 0 to 5
if gAntbild>i then
sprite(60+i).member=member getAt(gValda, i+1) of castlib "internal"
end if
End Repeat
end rumpan
Ike
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]