The REBOL Scripting Language
By Carl Sassenrath, July 01, 2000
Source Code Accompanies This Article. Download It Now.
The Relative Expression-Based Object Language (REBOL) was designed to make it easier to communicate between computers, or between people and computers, using context-dependent sublanguages.
Jul00: The REBOL Scripting Language
USAGE:
SWITCH value cases /default case
DESCRIPTION:
Selects a choice and evaluates what follows it.
SWITCH is a function.
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)
Example 1: Help lines in REBOL.