Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
VARVAL Function (DataBasic) (M618703+VARVAL_F.htm)
Returns the current value of a variable.
VARVAL(variable {, row {, column}})
variable A string containing the name of the variable whose value is to be returned. If variable does not evaluate to a string it must be enclosed in quotes.
row If variable is a dimensioned array, the row number of the required element; if row is not specified, 1 is assumed. This parameter is ignored if the variable is not a vector or a matrix.
column If variable is a dimensioned array, the column number of the required element; if column is not specified, 1 is assumed. This parameter is ignored if the variable is not a matrix.
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.