PDA

View Full Version : iterate variable names


dsdsdsdsd
01-05-2005, 02:07 PM
hello;

suppose:
---------------------------------------
repeat with i=1 to 20
"model_" & i = ...
end repeat
---------------------------------------

any thoughts on the correct Lingo syntax?

thanks
Shannon Burnett
Asheville NC USA

MentalFish
01-17-2005, 09:39 AM
repeat with i=1 to 20
member("3d-scene").model("model_" & i ) = ...
end repeat