Hi Everybody,
As previously written :
I want to generate a list with some specific data
everytime I create a
sprite.
The name of the list should always be like list1, list
2, list 3 and so
on...where the number corresponds to the sprite number
which is stored in a
variable say count.
so basically i need to create a variable name like
listname= "list" & string(count)
then this listname should be assigned a list
listname= [blah, blah, blah..]
now obviously it is a problem here as i first assign
the variable listname a
string and then a list.
-----------------------------------------------------
As per one reply that I got I can use 'do' command to
create variables at
runtime and to set values to them like this:
repeat with spritNum = 1 to 10
do ("list" & spritNum & "=" & [Naam, Wsize, extn,
mtime])
blah blah
end repeat
where Naam, Wsize, extn, mtime are all variables with
some values
So i did it and it works . I can check it if i trace
it in the message
window. The problem now is that since (as per the
almost negligible
documentation that i found about the 'do' command )
this only works when i
assign a value, i am not able to retrieve values from
the list the same way.
so something like
do (put "list" & spritNum )
doesnt work...
can somebody tell me how can i retrive values from
these lists that i
generate at runtime ???????????????
Thanx a lot for any help as this is a real problem for
me at the moment.
regards
Richie
Student ETH
Zurich, Switzerland
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
[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!]