> > repeat with i = 1 to the number of members of castlib 1 > > But won't this miss some if he has any empty cast slots > between members? If he has something in cast member 1, > nothing in member 2, and something in 3, I assume the above > code would return "2", but he would need to go through slot > 3 to test all of his cast members.
Nope. Check it out--it's an easy "put" in the message window. "the number of members of castlib n" returns the total number of cast members, including empty places between members. Cordially, Kerry Thompson [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
