\ CASE.HLP      Case statment                           by Bob Smith


CASE            ( -- )
        Start a CASE statment, as follows:

                CASE value1
                        value2 OF  func2   ENDOF
                        value3 OF  func3   ENDOF   otherwise func DROP
                ENDCASE

        Allows an arbitrary value to specify a function be performed.
        If your values are sequential, the EXEC: word is much faster,
        and more space efficient.  See also EXEC:


ENDOF           ( -- )
                See CASE.

OF              ( n1 n2 -- n1 )  ( n1 n1 -- )
                See CASE.

ENDCASE         ( -- )
                See CASE.

NRESOLVE        ( 0 n1 n2 ... n -- )
                Primitive used by ENDCASE to resolve the previous case
                references.

(OF)            ( n1 n2 -- n1 )  ( or )  ( n1 n1 -- )
                Primitive case comparison word, compiled by OF. Performs
                a comparison between n1 and n2.


