Re: the "do" command

2001-08-24 Thread Kurt Griffin
> I parse an xml file and for every child i generate a > sprite at runtime. Each child in my xml file has > further subchildren with data about the child. I need > to store this data about the child in a list which > corresponds to the number of the sprite such as list 1 > list2 and so on. > F

Re: the "do" command

2001-08-24 Thread Christian Wach
Richie Jindal wrote: > Yes i tried it the way u suggested also like: > do "put list" & spritNum > > But it prints as first it takes the value of > list which is obviously void since the data is > actually in list1, list2 and so on.. hmm, my message window shows: -- Welcome to Director -- do

RE: the "do" command

2001-08-24 Thread Brian Romanko
Richie, While ever convoluted, the do command should be working fine for you. Here is an output from my message window: -- Welcome to Director -- list5 = [5,6,7,8] put list5 -- [5, 6, 7, 8] sprtNum = 5 do "put list" & sprtNum -- [5, 6, 7, 8] Could you possibly be passing the wrong value to s

Re: the "do" command

2001-08-24 Thread Christian Wach
Richie Jindal wrote: > do (put "list" & spritNum ) try: do "put list" & spritNum I'd suggest you look at other methods for achieving whatever it is you want to do here... unless you *absolutely* have to, it's worth avoiding the 'do' command. can you give more details about the goal? Christian