EasyManuals Logo

Casio CFX-9850G PLUS Programming Guide

Casio CFX-9850G PLUS
48 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #28 background imageLoading...
Page #28 background image
378
2. Since the condition comes after the While-statement, the condition is tested
(checked) before the commands inside the loop are executed.
Example: 10 A_
While A > 0_
A – 1 A_
”GOOD”_
WhileEnd
kk
kk
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
command following the loop.
2. This command can be used to break execution of a For-statement, Do-
statement, and While-statement.
Example: While A>0_
If A > 2_
Then Break_
IfEnd_
WhileEnd_
A ^ ← Executed after Break
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
breaks the loop and launches the subroutine.
2. This command can be used as many times as necessary inside of a main
routine to call up independent subroutines to perform specific tasks.
3. A subroutine can be used in multiple locations in the same main routine, or it
can be called up by any number of main routines.
20-
11 Command Reference

Other manuals for Casio CFX-9850G PLUS

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio CFX-9850G PLUS and is the answer not in the manual?

Casio CFX-9850G PLUS Specifications

General IconGeneral
Display TypeLCD
Display Size128 x 64 pixels
Graphing CapabilityYes
ProgrammingYes, BASIC-like language
Memory32 KB
Power Source4 AAA batteries

Related product manuals