REBOL Document

? - Function Summary


Summary:

Prints information about words and values.

Usage:

? word

Arguments:

word - The word argument. (must be: any-type)

Description:

Synonym for 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)
    
    (SPECIAL ATTRIBUTES)
    	 throw

Related:

help - Prints information about words and values.
source - Prints the source code for a word.
what - Prints a list of globally-defined functions.


<Back | Index | Next>

Copyright 2004 REBOL Technologies