[REBOL] Re: Using BREAK keyword
From: brett:codeconscious at: 21-Sep-2003 21:07
> [end skip] and [break] are not the same.
> The first fails the second breaks.
I've given up the idea of writing another version of that code example using
Break. Instead I have put in a few examples of using Break.
On a different note. I found a way to use the Escape key in those infinite
loop situations that sometimes occur when developing new rules.
Place a paren! within the Some or Any loop. Somehow it enables Escape key
That is - you can use the escape key with this:
; Hit escape to exit
parse  [ any [ () none ] ]
but not with this:
; Careful - you will have terminate the process.
parse  [ any [ none ] ]