20060301
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.
De
s
cription
• 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 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
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 Li
s
t
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.
I
Graph & Table
Circle
Syntax:
Circle
:
<center
x
-coordinate>, <center
y
-coordinate>, radius
Function:
Draws a circle.
Example:
Circle –1, –1, 2
ClearSheet
Syntax:
ClearSheet
:
{
<sheet number>
"<sheet name>"
}
h
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.
12-6-15
Program Command Reference
Summary of Contents for ClassPad 330
Page 11: ...20060301 20090601 ClassPad 330 ClassPad OS Version 3 04 ...
Page 277: ...20060301 3 3 10 Storing Functions 3 Tap AND Plot OR Plot ...
Page 779: ...20090601 S Graph Line Clustered C S Graph Line Stacked E 13 9 2 Graphing ...
Page 780: ...20090601 S Graph Line 100 Stacked F S Graph Column Clustered G 13 9 3 Graphing ...
Page 781: ...20090601 S Graph Column Stacked I S Graph Column 100 Stacked J 13 9 4 Graphing ...
Page 782: ...20090601 S Graph Bar Clustered K S Graph Bar Stacked 9 13 9 5 Graphing ...