Hello

This is something that seems fairly simple...but I'm not doing it right.

I am building a simple game where the user enters number of players which is 
stored as gnumPlayers.

then a repeat loop is used to set up several things for each player, 
depending on how many players there are. everything in the loop worked until 
I later tried to add an empty prop list for each player. Each list is to 
have a unique name concatenating the player number with the list name. What 
I WANT is a bunch of empty prop lists named ginventorylist1, 
ginventorylist2, ginventorylist3, etc.

here is the part of the code that needs fixing:

global gnumPlayers--(this derived from text user input earlier.)
  repeat with i= 1 to (gnumPlayers)
    global (ginventorylist & i) = [:]

end repeat

end

please excuse my novice. thanks.








//////
find out how to earn serious income, get a pay raise on your job and travel, 
reserve hotel rooms, rental cars for a serious discount. If any of this 
sounds interesting to you...I can relate!!! Write me for details

_________________________________________________________________
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