Entering And Executing Programs - HP 48gII Advanced User's Reference Manual

Graphing calculator
Hide thumbs Also See for 48gII:
Table of Contents

Advertisement

Entering and Executing Programs

A program is an object – it occupies one level on the stack, and you can store it in a variable.
To enter a program:
1. Press @%.The PRG annunciator appears, indicating program-entry mode is active.
2. Enter the commands and other objects (with appropriate delimiters) in order for the operations you want the
program to execute.
Press # to separate consecutive numbers.
!
Press ™ to move past closing delimiters.
!
3. Optional: Press @ë (newline) to start a new line in the command line at any time.
4. Press ` to put the program on the stack.
In Program-entry mode (PRG annunciator on), command keys aren't executed -- they're entered in the command
line instead. Only nonprogrammable operations such as ƒ and J are executed.
Line breaks are discarded when you press `.
To enter commands and other objects in a program:
Press the keyboard or menu key for the command or object. All commands can also be selected from the
!
@µ list.
This guide assumes that Flag -117 is clear, so that you see menus rather than choose boxes wherever possible.
Also RPN mode should be set.
or
Type the characters using the alpha keyboard.
!
Refer to the hp49g+/hp48gII User's Guide for how to use the alpha keyboard.
In this guide an abbreviated convention is used whereby invocations of the alpha keyboard are not always
shown. In the next example we show:
OVOLK
where the alpha "VOL" can be entered as shown:
O~~VOL ~K
To store or name a program:
1. Enter the program on the stack.
2. Enter the variable name (with ' delimiters) and press K.
You can choose descriptive names for programs. Here are some ideas of what the name can describe:
The calculation or action. Examples: SPH (spherical-cap volume), SORT (sort a list).
!
The input and output. Examples: X"FX (x to f (x)), RH"V (radius-and -height to volume).
!
The technique. Example: SPHLV (spherical-cap volume using local variables).
!
To execute a program:
Press J then the menu key for the program name.
!
or
Enter the program name (with no delimiters) and press `.
!
or
Put the program name in level 1 and press N.
!
or
Put the program object in level 1 and press N.
!
(assuming Flag -60 is clear).
RPL Programming 1-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents