Question about "up with frame" in a do while loop

Posted by tariqjamal on 08-May-2009 11:22

I am debugging some old code we have around and have found the following problem. We have a do while with an up with frame. The problem is that after the second up, the up with frame is not doing anything here is my code

            do while rid[frame-line(pick)] = 0:
               run dLog ("engine.i up with frame pick " + string(frame-line(pick))). /* just my simple debug procedure */
               up with frame pick.
            end.

My debug is telling me this

engine.i up with frame pick 7
engine.i up with frame pick 6
engine.i up with frame pick 6
engine.i up with frame pick 6
engine.i up with frame pick 6
engine.i up with frame pick 6

I have read that multiple up with frames are treated as a single up with frame. Is there a way that I can force this to be treated as individual "up with frame" statements.

Thanks.

All Replies

Posted by Tim Kuehn on 11-May-2009 08:32

up 1 with frame x.

This thread is closed