Navigation:  Reference > Commands >

Case

Print this Topic Previous pageReturn to chapter overviewNext page

 

This is a process control command, i.e., it will control whether a command, or group of commands will be executed.  This is one part of a complete command structure.

 

CASE cRequired - Must be an integer value.  If the value corresponds to the result in the SELECT command, the command lines between the CASE command and the next CASE, OTHERWISE or ENDC (Endcase) command will be executed

 

COMMENTS

For more information on the different structured programming commands, and the CASE command in particular, please see Structured Programming Commands.  If you are missing an ENDC (End Case) command in a SELECT/CASE structure you will get the If without Endif error message during the compile process.

 

SEE ALSO                        

SELECT, OTHERWISE, ENDC

 

 

 

 


Page url: http://www.cassoftware.com/tas/manual/case.htm