> 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
You could try:
repeat with i= 1 to (gnumPlayers)
(the globals)[symbol("gInventoryList" & i)] = [:]
end repeat
but I think it will be equally difficult for you to then reference the
global variables you need later. It would perhaps be better to build a
global linear list of inventory property lists such that the propList at
position 1 is for player number 1 etc.
HTH,
-Sean.
[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!]