assignglobal
VARIABLE
,
VALUE

The assignglobal statement performs an assignment, much like an equals sign or the assign statement. However, the assignglobal statement only performs the assignment to a global variable.


Parameters

This statement has two parameters:

variable – is the name of the variable that you want to modify.

value – calculates the value that will be placed into the variable.


Description

This statement performs an assignment, much like an equals sign or the assign statement. However, the assignglobal statement only performs the assignment to a global variable. (If the variable doesn’t exist at all, it is created automatically and given the specified value.)

The procedure below will assign the value 714 to the AreaCode global – even if there is a local or fileglobal variable named AreaCode, or a field with that name.

assignglobal AreaCode,"714"

See Also


History

VersionStatusNotes
10.0NewNew in this version.