Program Command Reference
While~WhileEnd
Syntax: While<expression>
[<statement>] …
WhileEnd
<expression> is a condition that evaluates to true or false.
Function: The specified statements are repeated as long as the condition is true.
Description
•The statements between While~WhileEnd are repeated as long as the condition is true. When the condition becomes false, execution jumps to the next command after the WhileEnd command.
•Since the condition comes after While, the condition is evaluated before the loop is started.
•You can use a
•It is always a bad idea to use the Goto command to exit a While~WhileEnd loop. Not only is it poor programming, it can cause problems due to improper termination of internal processes used by the loop operation.
Application Command List
The commands listed in this section can also be used in other ClassPad applications.
You can select these commands by selecting “All” for the [Form] setting on the catalog (cat) soft keyboard. Or, you can simply type the command. Also, many of these commands appear as menu items within the [Ctrl], [I/O] or [Misc] menus.
kGraph & Table
Circle
Syntax: Circle<center
Function: Draws a circle.
Example: Circle
ClearSheet
Syntax: ClearSheet {<sheet number>} "<sheet name>"
Function: Deletes the sheet name and expressions on the sheet, and returns its settings to their default values. Omitting the argument causes all sheets to be cleared.
20050501