144
Programming
Chapter 8
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 com-
mand (
^
), 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 execution.
k
k
k
k
k
Display Commands (DISP)
DrawStat
Function:
This draws a statistical graph.
Syntax:
DrawStat
_
Summary of Contents for fx-7400G
Page 46: ...Differential Calculations Chapter 3 ...
Page 164: ...161 1 2 3 4 5 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 165: ...162 Program for Circle and Tangents No 4 Step Key Operation Display 6 7 8 9 10 ...
Page 166: ...163 11 12 13 14 15 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 167: ...164 16 17 18 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 170: ...167 1 2 3 4 5 Program for Rotating a Figure No 5 Step Key Operation Display ...