At 4:33 AM +0000 2/18/2001, Paul Steven wrote:
>Hi there
>
>I want to create a list of the names of all the members in a particular cast
>but I can't for the life of me get the syntax correct. Here is what I have
>tried
>

this is off the top of my head (so to speak..)

  vList_Of_Titles=[]

   repeat with vIndex= 1 to the number of members of castLib "Tiles"

     if member(vIndex, "Tiles").type <> #empty then
          vList_Of_Titles.add(member(vIndex, "Tiles").name
    end if
   end repeat


The #empty test is because  "the number of members of castLib" 
includes any empty slots between cast members and you don't want 
those.

-- 

     Roy Pardi
--------------------------------------------------------------------
Multimedia Developer   +  Lingo Programming Consultant
                                 [EMAIL PROTECTED]
--------------------------------------------------------------------



[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!]

Reply via email to