OpenBoot 3.x Command Reference Manual

case Statement Commands

Table I-36 case Statement Commands

Command  

Stack Diagram 

Description 

case

( selector -- selector )  

Begin a caseendcase conditional.

endcase

( selector | {empty} -- ) 

Terminate a caseendcase conditional.

endof

( -- ) 

Terminate an ofendof clause within a case...endcase

of

( selector test-value -- selector | {empty} ) 

Begin an ofendof clause within a case conditional.