Dear list my hair lays around my ankles: in essence how do I use a variable name to refer to an individual list?? I Declare a bunch of property lists thus:
set obstacle3=[:] setaprop obstacle3,#Lname,"3g" setaprop obstacle3,#lstat,"good" setaprop obstacle3,#Ltime,40 setaprop obstacle3,#badh,367 setaprop obstacle3,#badv,145 setaprop obstacle3,#goodh,571 setaprop obstacle3,#goodv,181 they are obstacle 1 to obstacle 23 at another point in the movie, I need to test the lstat variable of each list and act accordingly in positing the corresponding sprite on the screen (obstacle 1 and obstacle 2 are not processes,there is an offset of 6 between the sprite number and the obstacle number). repeat with i= 3 to 26 objstatus="" droppername="obstacle"&string (i) objstatus= getaprop(droppername,#lstat) if objstatus="good" then sprite(i+6).locv=droppername.goodv sprite(i+6).loch=droppername.goodh else sprite(i+6).locv=droppername.badv sprite(i+6).loch=droppername.badh end if end repeat Director throws a blue fit each time a try to use the variable dropper name to refer to a list name. I am at my wits end,which shows how few there are of those :) best wishes from wobbly in Eastbourne E. Sussex --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.325 / Virus Database: 182 - Release Date: 19/02/2002 [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!]
