Casio CFX-9970G User Manual page 411

Hide thumbs Also See for CFX-9970G:
Table of Contents

Advertisement

21- 11
Command Reference
2. Since the condition comes after the While-statement, the condition is tested
Example: 10 $ A_
k k k k k Program Control Commands (CTL)
Break
Function: This command breaks execution of a loop and continues from the next
command following the loop.
Syntax: Break _
Description:
1. This command breaks execution of a loop and continues from the next
2. This command can be used to break execution of a For-statement, Do-
Example: While A>0_
Prog
Function: This command specifies execution of another program as a subroutine.
In the RUN Mode, this command executes a new program.
Syntax: Prog "file name" _
Example: Prog "ABC" _
Description:
1. Even when this command is located inside of a loop, its execution immediately
2. This command can be used as many times as necessary inside of a main
3. A subroutine can be used in multiple locations in the same main routine, or it
(checked) before the commands inside the loop are executed.
While A > 0_
A – 1 $ A_
"GOOD"_
WhileEnd
command following the loop.
statement, and While-statement.
If A > 2_
Then Break_
IfEnd_
WhileEnd_
A ^ ())))) Executed after Break
breaks the loop and launches the subroutine.
routine to call up independent subroutines to perform specific tasks.
can be called up by any number of main routines.
392

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents