20050401
8-5-7
Command Reference
Prog
Function:
This command specifies execution of another program as a subroutine. In the
RUN
•
MAT
mode, this command executes a new program.
Syntax:
Prog ”file name”
Example:
Prog ”ABC”
Description:
• Even when this command is located inside of a loop, its execution immediately breaks the
loop and launches the subroutine.
• This command can be used as many times as necessary inside of a main routine to call up
independent subroutines to perform specific tasks.
• 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.
Main Routine
Subroutines
D
C
E
I
J
Prog ”E”
Prog ”I”
Prog ”J”
A
Prog ”D”
Prog ”C”
Level 1
Level 2
Level 3
Level 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 state-
ment following the Prog command.
• 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.
• If a subroutine with the file name specified by the Prog command does not exist, an error
occurs.
• In the
RUN
•
MAT
mode, inputting the Prog command and pressing
w
launches the
program specified by the command.
Summary of Contents for fx-9860G AU PLUS
Page 1: ...fx 9860G AU User s Guide E http edu casio com ...
Page 2: ...Important Please keep your manual and all information handy for future reference ...
Page 27: ...20050401 1 1 Keys 1 1 1 Keys ...
Page 335: ...20050401 u u u u u Input Example u u u u u Results 6 5 25 Tests ...
Page 361: ...20050401 Calculation Result Output Example p F distribution probability 6 7 15 Distribution ...
Page 435: ...20050401 8 8 2 Program Library egcw w ww w ...
Page 437: ...20050401 8 8 4 Program Library Example 1 Example 2 fw baw bf w fw baw ca w ...
Page 439: ...20050401 8 8 6 Program Library wba wb w w d ...
Page 441: ...20050401 8 8 8 Program Library dw fcde wfcde wfcde fcde w daw w 20070101 ...
Page 443: ...20050401 8 8 10 Program Library b awaw bwaw aw x d w ...
Page 590: ...CASIO COMPUTER CO LTD 6 2 Hon machi 1 chome Shibuya ku Tokyo 151 8543 Japan SA0701 E ...