20060301
Locate
Syntax 1: Locate
<
x
-coordinate>, <
y
-coordinate>, <expression>
Syntax 2: Locate
<
x
-coordinate>, <
y
-coordinate>, "<string>"
Function: This command displays the result of the specified expression or the specified text
string at the specified coordinates on the display screen.
Description
• The coordinates of the point at the upper left corner of the effective area of the Locate
command are (1, 1), and coordinate values can be specified in the range of 1 to 290 for the
x
-coordinate and 1 to 290 for the
y
-coordinate. Note, however, that the actual dot count of
the ClassPad screen is 160
×
240.
• An expression result is displayed as a single line.
Message
Syntax: Message
"<string 1>" [,"<string 2>"]
Function: This command pauses program execution and displays a dialog box containing
the text specified by "<string 1>". The text is positioned flush top left. The text
specified for "<string 2>" is used as the dialog box title.
12-6-7
Program Command Reference
Description
• Text strings enclosed within quotation marks (" ") or variable names can be specified for
"<string 1>" and "<string 2>".
• Tapping [OK] closes the dialog box and resumes program execution.
• Tapping [Cancel] terminates program execution.
Print
Syntax 1: Print
<expression>
Syntax 2: Print
"<string>"
Function: This command displays the result of the specified expression or the specified text
string.
Description
An expression result is displayed as a single line. When the result is a long expression,
fraction, or string, it may not fit on the display. In such a case, use the PrintNatural
command instead.