assign
DESTINATION
,
VALUE

The assign statement assigns a value to a field or variable.


Parameters

This statement has two parameters:

destination – is the name of the field or variable that you want to store the value into.

value – is the value to be stored.


Description

The assign statement assigns a value to a field or variable. For example, this statement assigns the value John Smith to the field or variable Name.

assign Name,"John Smith"

The more common shortcut for assignment is to use the = symbol, like this:

Name = "John Smith"

The two statements above are identical and interchangeable, you can use either one as you like.


See Also


History

VersionStatusNotes
10.0NewNew in this version