OK I have narrowed the problem down to its simplest form.

where gturn is a variable for the turn of a current player,

Director will recognize

put ginventorylist[gturn].fish
-- (fish is a property in the proplist)

but it WONT do
put ginventorylist[gturn].ganimal
-- (ganimal is a variable that is "fish" in this instance)

-- in other words, I can put a variable as part of the list name, but not 
for the property , because that part cannot take a string. it sees the 
quotations and it doesn't work. how to I convert the ganimal variable into a 
symbol so that I can use it this way? or is there a better way to do this.?





_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

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

Reply via email to