TCL_UnsetVar

Remove a tcl variable

Calling Sequence

OK=TCL_UnsetVar(varname [,interp])

Arguments

:varname character string. Contains the name of the tcl/tk variable to
unset.
: :interp optional character string parameter. Name of the slave tcl
interpreter in which the operation has to be performed. If not provided, it defaults to the main tcl interpreter created by Scilab.

: :ok boolean. %T if varname was deleted. :

Description

This routine allows to unset a tcl variable.

More information about Tcl/Tk: http://www.tcl.tk/doc/

Examples

`TCL_SetVar`_("Scilab","OK")
`TCL_GetVar`_("Scilab")
TCL_UnsetVar("Scilab")
`TCL_ExistVar`_("Scilab")

`TCL_CreateSlave`_('InterpSlave');
`TCL_SetVar`_("Scilab","Good",'InterpSlave')
`TCL_GetVar`_("Scilab",'InterpSlave')
TCL_UnsetVar("Scilab",'InterpSlave')
`TCL_ExistVar`_("Scilab",'InterpSlave')
`TCL_DeleteInterp`_('InterpSlave')

See Also

Table Of Contents

This Page