TCL_ExistVar ============ Return %T if a tcl variable exists Calling Sequence ~~~~~~~~~~~~~~~~ :: OK=TCL_ExistVar(varname [,interp]) Arguments ~~~~~~~~~ :varname character string. Contains the name of the tcl/tk variable. : :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 exists. : Description ~~~~~~~~~~~ This routine allows to test if a tcl variable exists. 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_SetVar`_("aa",1) `TCL_CreateSlave`_('SlaveInterp'); `TCL_SetVar`_("aa",2,'SlaveInterp') TCL_ExistVar("aa") `TCL_GetVar`_("aa") `TCL_UnsetVar`_("aa") `TCL_GetVar`_("aa",'SlaveInterp') `TCL_UnsetVar`_("aa",'SlaveInterp') TCL_ExistVar("aa",'SlaveInterp') `TCL_DeleteInterp`_('SlaveInterp') See Also ~~~~~~~~ + `ScilabEval`_ tcl instruction : Evaluate a string with scilab interpreter + `TCL_EvalFile`_ Reads and evaluate a tcl/tk file + `TCL_EvalStr`_ Evaluate a string whithin the Tcl/Tk interpreter + `TCL_GetVar`_ Get a tcl/tk variable value + `TCL_SetVar`_ Set a tcl/tk variable value + `TCL_UnsetVar`_ Remove a tcl variable + `TCL_UpVar`_ Make a link from a tcl source variable to a tcl destination variable + `TCL_CreateSlave`_ Create a TCL slave interpreter .. _TCL_UpVar: TCL_UpVar.html .. _TCL_SetVar: TCL_SetVar.html .. _TCL_EvalFile: TCL_EvalFile.html .. _http://www.tcl.tk/doc/: http://www.tcl.tk/doc/ .. _TCL_UnsetVar: TCL_UnsetVar.html .. _TCL_GetVar: TCL_GetVar.html .. _ScilabEval: ScilabEval.html .. _TCL_EvalStr: TCL_EvalStr.html .. _TCL_CreateSlave: TCL_CreateSlave.html