Input/Output:

 

 

Level 2

Level 1

 

Level 1

 

 

 

 

 

 

 

 

obj1

obj2

 

 

 

 

 

 

 

See also:

CLEAR, DROP, DROPN

 

 

 

 

 

 

 

 

 

DROPN

RPL Command

 

 

 

Type:

 

 

 

Description:

Drop n Objects Command: Removes the first n + 1 objects from the stack (the first n objects

 

excluding the integer n itself).

 

 

 

Access:

STACK LLDROPN

 

( °is the left-shift of the Nkey).

 

ISTACK LLDROPN

 

 

 

Input/Output:

 

 

 

 

 

 

 

Leveln+1 ... Level 2

Level 1

 

Level 1

 

 

 

 

 

 

 

 

obj1 ... objn

n

 

 

 

 

 

 

 

See also:

CLEAR, DROP, DROP2

 

 

 

 

 

 

 

 

 

DTAG

Command

 

 

 

Type:

 

 

 

Description:

Delete Tag Command: DTAG removes all tags (labels) from an object.

 

 

The leading colon is not shown for readability when the tagged object is on the stack.

 

DTAG has no effect on an untagged object.

 

 

Access:

TYPE LDTAG

 

( °is the left-shift of the Nkey).

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

 

tag:obj

 

obj

 

 

 

 

 

 

See also:

LIST→, →TAG

 

 

 

 

 

 

 

 

 

DUP

RPL Command

 

 

 

Type:

 

 

 

Description:

Duplicate Object Command: DUP returns a copy of the argument (or the object on level 1).

Access:

STACK DUP

( °is the left-shift of the Nkey).

 

ISTACK DUP

 

 

 

`in RPN mode executes DUP when no command line is present.

Input/Output:

 

 

Level 1

 

Level 2

Level 1

 

 

 

 

 

 

 

 

obj

obj

obj

 

 

 

 

 

 

See also:

DUPN, DUP2, PICK

 

 

 

 

 

 

 

 

 

DUP2

RPL Command

 

 

 

Type:

 

 

 

Description:

Duplicate 2 Objects Command: DUP2 returns copies of the two objects on levels 1 and 2 of the

 

stack.

 

 

 

Access:

STACK LLDUP2

 

( °is the left-shift of the Nkey).

 

ISTACK LLDUP2

 

 

 

3-70 Full Command and Function Reference