beautypg.com

Other menus convenient for programming, H copy menu p h – Sharp EL-9900 User Manual

Page 226

background image

216

Chapter 13: Programming Features

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.

7. Other menus convenient for programming

H COPY menu

P H

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.

11 Gosub

12 Return