DataBasic Reference > Statements and Intrinsic Functions > A > ASSIGN Statement

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

ASSIGN Statement (DataBasic) (m618703+assign_s.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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 SYSTEMfunction 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.

RealityV15.0Comment on this topic