Casio CLASSPAD 330 3.04 User Manual page 665

Classpad os version 3.04
Table of Contents

Advertisement

Break
Syntax:
Break
Function: This command terminates a loop and causes execution to advance to the next
command following the loop process.
De cription
• Break terminates a loop and causes execution to advance to the next command following
the loop process.
• Break can be used inside of a For, Do, While, or Switch process.
Define
Syntax:
Define
[<folder name>\ ]<function name>([<variable name>[,<variable
name>...]]) =<expression>
• Items inside of brackets ([ ]) can be skipped.
Function: Creates a user-defined function.
De cription: See page 12-5-2.
Do~LpWhile
Syntax:
Do
[<statement>] ...
LpWhile
<expression>
<expression> is a condition that evaluates to true or false.
Function: The specified statements are repeated as long as the condition is true.
De cription
• The statements between Do~LpWhile are repeated as long as the condition is true. When
the condition becomes false, execution jumps to the next command after the LpWhile
command.
• Since the condition comes after LpWhile, the condition is not evaluated until the end of the
loop is reached.
• You can use a multi-statement command (:) in place of the carriage return to separate
statements.
• It is always a bad idea to use the Goto command to exit a Do~LpWhile loop. Not only is it
poor programming, it can cause problems due to improper termination of internal processes
used by the loop operation.
12-6-9
Program Command Reference
20060301

Advertisement

Table of Contents
loading

This manual is also suitable for:

Classpad 330

Table of Contents