assignwindowglobal
VARIABLE
,
VALUE

The assignwindowglobal statement performs an assignment, much like an equals sign or the assign statement. However, the assignwindowglobal statement only performs the assignment to a windowglobal 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 assignwindowglobal statement only performs the assignment to a windowglobal 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 windowglobal variable – even if there is a local or fileglobal variable named AreaCode, or a field with that name.

assignwindowglobal AreaCode,"714"

See Also


History

VersionStatusNotes
10.0NewNew in this version.