letwindowglobal
VARIABLE
=
VALUE

The letwindowglobal statement creates a windowglobal 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 windowglobal variable. For example, this statement creates a windowglobal variable named pageCount and assigns the value 23 to it.

letwindowglobal pageCount=23

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

letwindowglobal userName="Bob"

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


See Also


History

VersionStatusNotes
10.0NewNew in this version.