[ALLY] [REBOL]Keystroke test Re:(3)
From: tim:johnsons-web at: 7-Aug-2000 9:05
From rebol/core, I would like to run a program in
a forever loop that will process (something) until
any of a set of keystrokes are intercepted.
here is the code I have written, but doesn't work.
forever
[
system/console/keys: "abcdef"
either [system/console/keys = none][]
[
print "input: " system/console/keys
break
]
]
; In other words I'd like to break out of the loop if any of
; a set of keystrokes are intercepted, not just the
; escape key.
Thanks
Tim