[REBOL] Re: Issue with block command 'NEXT'
From: brett:codeconscious at: 3-Jul-2003 11:06
When you remove something from a block, the block gets shorter. A FOR loop is set for a specific number of iterations - in this case based on the original length of the block. So at some point if you remove something your loop will "fall off" the end - go past the tail. Maybe you should change your code from using FOR to using WHILE. Regards, Brett.