EasyManuals Logo
Home>HP>Calculator>15c Collector's Edition

HP 15c Collector's Edition User Manual

HP 15c Collector's Edition
308 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 #117 background imageLoading...
Page #117 background image
Section 9: Subroutines 105
Further Information
The Subroutine Return
The pending return condition means that the n instruction occurring
subsequent to a G instruction causes a return to the line following the
G rather than a return to line 000. This is what makes a subroutine
useful and reusable in different parts of a program: it will always return
execution to where it branched from, even as that point changes. The only
difference between using a G branch and a t branch is the
transfer of execution after a n.
Nested Subroutines
If you attempt to call a subroutine that is nested more than seven levels
deep, the calculator will halt and display
Error 5
when it encounters the
G instruction at the eighth level.
Note that there is no limitation (other than memory size) on the number
of nonnested subroutines or sets of nested subroutines that you may use.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 15c Collector's Edition and is the answer not in the manual?

HP 15c Collector's Edition Specifications

General IconGeneral
BrandHP
Model15c Collector's Edition
CategoryCalculator
LanguageEnglish

Related product manuals