assignlocal
VARIABLE
,
VALUE

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

assignlocal AreaCode,"714"

See Also


History

VersionStatusNotes
10.0NewNew in this version.