396
Parameters:
left side/right side: variable (A to Z,
r
,
!
), numeric constant, variable expression
(such as: A
"
2)
relational operator: =,
G
G
G
G
G
, >, <,
&
,
'
Description:
1. The conditional jump compares the contents of two variables or the results of
two expressions, and a decision is made whether or not to execute the jump
based on the results of the comparison.
2. If the comparison returns a true result, execution continues with the statement
following the
%
command. If the comparison returns a false result, execution
jumps to the statements following the multi-statement command (:), display
command (
^
), or carriage return (
_
).
Example:
Lbl 1 : ?
$
A :
A
>
0
%
A
^
Goto 1
With this program, inputting a value of zero or greater calculates and displays the
square root of the input value. Inputting a value less than zero returns to the input
prompt without calculating anything.
k
k
k
k
k
Clear Commands (CLR)
ClrGraph
Function:
This command clears the graph screen.
Syntax:
ClrGraph
_
Description:
This command clears the graph screen during program execution.
ClrList
Function:
This command clears list data.
Syntax:
ClrList
_
Description:
This command clears the contents of the currently selected list (List
1 to List 6) during program execution.
ClrText
Function:
This command clears the text screen.
Syntax:
ClrText
_
Description:
This command clears text from the screen during program execu-
tion.
21- 11
Command Reference
P.401
Summary of Contents for CFX-9970G
Page 22: ... CFX 9970G ...
Page 452: ...435 1 2 3 4 5 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 453: ...436 Program for Circle and Tangents No 4 Step Key Operation Display 6 7 8 9 10 ...
Page 454: ...437 11 12 13 14 15 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 455: ...438 16 17 18 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 458: ...441 1 2 3 4 5 Program for Rotating a Figure No 5 Step Key Operation Display ...