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 #29 background imageLoading...
Page #29 background image
379
Command Reference 20-
11
Main Routine Subroutines
D
CEIJ
Prog ”E” Prog ”I” Prog ”J”
A
Prog ”D”
Prog ”C”
Level 1 Level 2 Level 3 Level 4
4. Calling up a subroutine causes it to be executed from the beginning. After
execution of the subroutine is complete, execution returns to the main routine,
continuing from the statement following the Prog command.
5. A Goto~Lbl command inside of a subroutine is valid inside of that subroutine
only. It cannot be used to jump to a label outside of the subroutine.
6. If a subroutine with the file name specified by the Prog command does not
exist, an error occurs.
7. In the RUN Mode, inputting the Prog command and pressing w launches the
program specified by the command.
Return
Function: This command returns from a subroutine.
Syntax: Return _
Description:
Execution of the Return command inside a main routine causes execution of the
program to stop.
Example: Prog ”A” Prog ”B”
1 A_ For A B To 10_
Prog ”B”_ B + 1 C_
C ^ Next_
Return
Executing the program in File A displays the result of the operation
(11).
Stop
Function: This command terminates execution of a program.
Syntax: Stop _
Description:
1. This command terminates program execution.
2. Execution of this command inside of a loop terminates program execution
without an error being generated.

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