Special Function Codes

The special function codes in the table below can be included in an F code:

Code

Description

_

(underscore) Exchanges the first and second elements in the stack.

:

Concatenates the first element in the stack to the end of the second element.

P

Duplicates the first element by pushing it onto the stack.

R

Divides the second element in the stack by the first element, putting the remainder on top.

S

Sums MultiValues of the first element of the stack.

[]

Extracts a substring by operating on the top three elements in the stack, where:

Top

length of substring

2

starting position of substring

3

original string

The Correlatives and Conversions Reference lists the other system variables that can be used with the F code.

See Also

F Code

Referencing Attributes

Numeric Constants

Arithmetic Operators

Relational Operators

Applying Conversion Codes