Tcl.setVariable

Set the value of a variable. If the variable doesn't exist it is created.

class Tcl
void
setVariable
(
T
)
(
string name
,)

Parameters

name string

The name of the variable to set.

value T

The variable's value.

Meta