letfileglobal
VARIABLE
=
VALUE

The letfileglobal statement creates a fileglobal variable and assigns a value to it.


Parameters

This statement has two parameters:

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

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


Description

This statement works just like an assignment, but the destination of the assignment is automatically created as a fileglobal variable. For example, this statement creates a fileglobal variable named pageCount and assigns the value 23 to it.

letfileglobal pageCount=23

The value can be any data type, for example text like this:

letfileglobal userName="Bob"

Note: This statement is identical to the assignfileglobal statement, but let uses an equal sign between the variable name and the value, instead of a comma.


See Also


History

VersionStatusNotes
10.0NewNew in this version.