Re: Assignment Question
- Posted by Mario Steele <eumario at trilake.net> Feb 27, 2005
- 460 views
Robert Craig wrote: <snip> > You just have to split your original statement into > two smaller statements, using a temp variable. > Why are you now rewriting your whole program, > and suggesting that 2.5 is to blame for all your problems? > I don't get it. Your program must have other problems, even on 2.4 > or earlier. Actually, no, it works perfectly fine on 2.4, and the reason why I'm re-writting it, is cause indicies still dis-appear on me, EVEN using the temp variable, before assigning to the sub-script. This time though, it's not the last part of the sequence that I just added that dis-appears, it's the one I'm assigning the temp variable to. And it doesn't dis-appear till the assignment statement is executed. EG: MySequence = {1,{2,0},4} -- after execution of CreateObject() or something MySequence[2][2] = tempVar -- Kablooey, cause MySequence is now {1,4} for some reason. I've went through the trace facility, to confirm this, and it does dis-appear. But, since I deleted that code in a fit of anger, and didn't make no back-ups, it's lost. I'm sure, somehow, the thing will happen again, just that now the way I have the code re-wrote, it will work just fine, so I guess it'll work this way. Mario Steele