Chapter 13: Programming Features
11 Gosub
12 Return
7. Other menus convenient for programming
H COPY menu P H
216
Gosub label name
.....................
End
[Rem start of the subroutine (label name) ]
Label label name
Statements
Return
Subroutine structures can be used for programming.
• The Gosub label name must be the same as the Label starting
the subroutine.
• A Return statement is necessary at the end of the subroutine.
When the Return statement is executed, the calculator executes
the next line after the Gosub statement.
• Up to 10 subroutines can be nested.
You can copy and paste line by line using the COPY menu
commands.
1. Move the cursor to the line that you wish to copy.
2. Press P H.
3. Select 1 StoLine and press
E.
The selected line will be
stored in the memory.
4. Move the cursor to the line where you wish to paste the stored
line.