Stack command menu – HP 48g Graphing Calculator User Manual

Page 47

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

stack Command Menu

The following table describes the programmable commands that
manipulate the stack. These commands are available from the

f#^(STACK

) command menu.

Cormiiand/Description

Example

Input

Output

DEPTH

Returns the

number of objects on the
stack.

l:; ' X I '

DROP2 Removes the

objects in levels 1 and 2.

10

DROPN Removes the first

71

+ 1

objects from the stack

(n is in level

1).

Shown in

menu as

DR PH .

3 s 456

4;

DUP Duplicates the object

in level 1.

2 s 543

DUP2 Duplicates the

objects in levels 1 and 2.

3 s ' Fi '

id “ ‘ hi *

DUPN

Duplicates n

objects on the stack, starting
at level 2 (n is in level 1).

i:

4 s 7F:9

1 «

o

Stack 3-11

Advertising
This manual is related to the following products: