Chapter 12: Program Application
224
Chapter 12: Program Application
224
VWin
Misc - Setup(3)
Function: Used as a
SetSmryTable
command
argument to specify an option. See
SetSmryTable
.
W
Wait
Ctrl - Control
Syntax: Wait
[<expression>]
Function: Pauses program execution, and then
restarts it after the number of seconds specified by
the expression passes.
Description:
• If you do not specify any expression, program
execution is paused until you tap the screen, or
press a key.
• The maximum valid specification for <expression>
is 360 seconds (six minutes). Specifying a value
greater than 360 causes program execution to
resume after 360 seconds, regardless of the
specified value.
• The ClassPad’s Auto Power Off function is disabled
during a pause caused by the
Wait
command.
• If the Auto Power Off trigger time is reached during
the pause, program execution resumes.
While~WhileEnd
Ctrl - While
Syntax:
While
<expression> : [<statement>] … : WhileEnd
• <expression> is a condition that evaluates to true or
false.
Function: Repeats the specified statements 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 multi-statement command (:) in place
of the carriage return to separate statements.
• Do not use the
Goto
command to exit a
While~WhileEnd
loop.
WhileEnd
Ctrl - While
See
While~WhileEnd
.
X
xor
Ctrl - Logic
See “Bitwise Operations” (page 60).
xy
Line
Misc - Statistics(1) - Graph
Function: Used as a
StatGraph
command argument
to specify an option. See
StatGraph
.
Z
ZAuto
Misc - Graph&Table(1) - Zoom
Syntax: ZAuto
Function: Performs Auto Zoom.
ZFactor
Misc - Graph&Table(1) - Zoom
Syntax: ZFactor
<
x
factor value>, <
y
factor value>
Function: Specifies the Factor Zoom Factor value.