Exactly what I'm looking for. Thank you.

>> I'm trying to develop else-like logic using 'switch...
>
>What's wrong with /Default for 'Switch?
>
>>> help switch
>USAGE:
>    SWITCH value cases /default case
>
>DESCRIPTION:
>     Selects a choice and evaluates what follows it.
>     SWITCH is a function value.
>
>ARGUMENTS:
>     value -- Value to search for. (Type: any)
>     cases -- Block of cases to search. (Type: block)
>
>REFINEMENTS:
>     /default
>         case -- Default case if no others are found. (Type: any)
>
>Like this:
>
>    switch/default option [
>        "a" [print "a"]
>        "b" [print "b"]
>        ][
>        print "something else"
>        ]
>
>Andrew Martin
>ICQ: 26227169 http://members.nbci.com/AndrewMartin/
>-><-
>
>
>-- 
>To unsubscribe from this list, please send an email to
>[EMAIL PROTECTED] with "unsubscribe" in the 
>subject, without the quotes.
>
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to