12.5.35    set

Description:   Sets a script variable value.

Syntax:         SET variable value

 

Arguments:    variable and  value analog, digital or text type

Returns:         

See Also:       SETVAL, @, BINDVAR,  GETVAL, $, append, lappend

 

Examples:      set temp 5                  

set dx [expr [GETVAL r]*[GETVAL da]/180.0*3.1415926]

SETVAL x=$dx

 

set str6 "[GETVAL text1] [GETVAL text2] [GETVAL text3]"

Sets a script variable value. This is a TCL language command.   If script variable is bound to a tag or tag field, will set value of tag or tag field.