VxSetVar(VTCL)

VxSetVar(VTCL)


VxSetVar -- set value of variable and associate with specified widget

Syntax

VxSetVar widgetName varName value

Description

Sets the value of a variable and associates that variable with the passed-in widget. This is used to store information relevant to the widget (rather than setting a global variable).

Options

widgetName
Name of the widget that the variable is associated with.

varName
Name of the variable. May be a scalar or array reference.

value
The value assigned to the variable.

Returns

value is returned.

See also