ASSIGN Statement

Changes system parameters whose values can be retrieved using the SYSTEM function.

Syntax

ASSIGN value TO SYSTEM(parameter)

Syntax Elements

value The value to which the system parameter is to be set.

parameter The number corresponding to the system parameter to be changed.

Comments

Not all system and data parameters that can be read with the SYSTEM function can be changed with the ASSIGN statement. Refer to the description of the SYSTEM statement for a list of parameters that can be changed.

Examples

ASSIGN 12 TO SYSTEM(5)

Assigns the value 12 to system parameter 5, the current page number.

ASSIGN 66 TO SYSTEM(2)

Assigns the value 66 to system parameter 2, the current page width.

ASSIGN 54 TO SYSTEM(3)

Changes the value of the current page length (system parameter 3) to 54.

ASSIGN "," TO SYSTEM(38)

Changes the decimal separator to a comma.