I have seen a lot of code in rebol, and i seem to get the parts, but like if some connecting idea is missing ...

I made some very nice scripts in few lines which really do exectly what they should, and are great, but when I tried to make a simple graphic editor I was stucked...
I remember my first programming effort was drawing program which basicly looked like this:
loop: wait for keypress
draw something on screen depending on what key was pressed
goto loop
Now on rebol I know how to do something when something is pressed (feel stuff and such) but... but Im not quite clear on where exectly to put it...
So if someone could give me an example of something like this written in rebol...:
loop: wait for keypress
if something usefull is pressed then do what you are supposed to do (draw on surface, move cursor, change color....)
goto loop or whatever
Thank you very much in advance!
Rebol is a beauty and its getting better every week....
