Tim,

I get a Script Error when using anything but #1 or #2 as input:

Choose Command...
1 - Command 1
2 - Command 2
4
** Script Error: command4 has no value.
** Where: command4

But you might wish to use reform vs. rejoin in your do' statement.

Russ

---
At 04:33 AM 6/16/2000 -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]
>]
>
>
>
>

Reply via email to