[REBOL] Re: Ask
From: cybarite:sympatico:ca at: 26-Sep-2001 14:00
The result of an Ask is a string. Try
ask "What do I get?"
and view is expecting a block.
I don't think "ASK" is what you want. But you can make it work
by doing something like
one [button 200x24 water "Button One"]
two [size 400x400 across button 200x24 water "Button Two"]
my-choice: ask "Enter an identifier (one or two): "
view layout select blocks to-word my-choice
You might want to look at other options that are not so dependent
on the user typing exactly what you expect... choice and rotary
might be appropriate.
No reply needed.
At 11:21 AM 9/26/01 -0700, you wrote: