Yeah, that sounds funny.
For me, your example script does throw an error for values other than 1 or 2.
If you are saying that it doesn't for you, then that sounds funny...
I tried it on both rebol core 2.2.0.3.1
and REBOL/View 0.9.9.3.1 1-Jun-2000
The error is:
** Script Error: command0 has no value.
** Where: command0
-Anton.
At 04:33 16/06/00 -0700, you wrote:
>Hi, can anyone tell me what's wrong with
>this script and why it does'nt throw an error
>for input numbers 1 - 9. thanks alot.. tim
>
>BEGIN SCRIPT
>
>REBOL [
>]
>
>Listing: [
>
>print "Choose Command..."
>print "1 - Command 1"
>print "2 - Command 2"
>]
>
>
>
>command1: [print "Doing Command 1"]
>command2: [print "Doing Command 2"]
>
>
>
>forever [
>do listing
>command: input
>do rejoin ["command" command]
>]