Stupid Programming Question

SimPLsol at aol.com SimPLsol at aol.com
Fri May 7 14:16:39 EDT 2004


Judy,
     Another option, which requires even less code - if it fits your needs, 
is to put the images into a folder and use a repeat loop to view them, 
something like this:

repeat with i = 1 to the number of items in imageFolder
     go to item i of imageFolder
end repeat

     This would solve the problem of trying to determine beforehand how many 
images there were; 16 vs 17, etc.

     You could combine this with Rob's suggestion; at runtime make a list of 
the items in the folder, then sort the list, and view item i of the list
Paul Looney


More information about the use-livecode mailing list