VARVAL Function

Returns the current value of a variable.

Syntax

VARVAL(variable)

Syntax Elements

variable A string containing the name of the variable whose value is to be returned.

Operation

The value of an unassigned common variable is indicated by the string "<unassigned>".

The value of a file variable is indicated by the string "<file variable> fileName".

See also the VARTYPE and VARVALTYPE functions and the VARVALSET statement.

Go to top button