13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="TCL_GetVar">
15
<refname>TCL_GetVar</refname>
16
<refpurpose>Get a tcl/tk variable
21
<title>Calling Sequence</title>
22
<synopsis>value=TCL_GetVar(Varname [,interp])</synopsis>
25
<title>Arguments</title>
30
<para>character string. Contains the name of the tcl/tk
38
<para>optional character string parameter. Name of the slave tcl
39
interpreter in which the operation has to be performed. If not
40
provided, it defaults to the main tcl interpreter created by
48
<para>may be a character string or a strings matrix. Contains the
49
value of the tcl/tk variable <literal>varname</literal> in the interpreter
50
<literal>interp</literal>.
57
<title>Description</title>
58
<para>When tcl/tk support is enabled in Scilab, this routine can be used to
59
retreive the value of a tcl/tk variable.
62
More information about Tcl/Tk: <ulink url="http://www.tcl.tk/doc/">http://www.tcl.tk/doc/</ulink>
66
<title>Examples</title>
67
<programlisting role="example"><![CDATA[
15
<refname>TCL_GetVar</refname>
16
<refpurpose>Get a tcl/tk variable
21
<title>Calling Sequence</title>
22
<synopsis>value=TCL_GetVar(Varname [,interp])</synopsis>
25
<title>Arguments</title>
30
<para>character string. Contains the name of the tcl/tk
38
<para>optional character string parameter. Name of the slave tcl
39
interpreter in which the operation has to be performed. If not
40
provided, it defaults to the main tcl interpreter created by
48
<para>may be a character string or a strings matrix. Contains the
49
value of the tcl/tk variable <literal>varname</literal> in the interpreter
50
<literal>interp</literal>.
57
<title>Description</title>
58
<para>When tcl/tk support is enabled in Scilab, this routine can be used to
59
retreive the value of a tcl/tk variable.
62
More information about Tcl/Tk: <ulink url="http://www.tcl.tk/doc/">http://www.tcl.tk/doc/</ulink>
66
<title>Examples</title>
67
<programlisting role="example"><![CDATA[
68
68
TCL_EvalStr("toplevel .tst1");
70
70
// creates a toplevel TK window.
130
130
ScalarFromTCL_slave=TCL_GetVar("ScalarTCL_slave",'SlaveInterp3')
131
131
TCL_DeleteInterp('SlaveInterp3')
132
132
]]></programlisting>
134
<refsection role="see also">
135
<title>See Also</title>
136
<simplelist type="inline">
138
<link linkend="ScilabEval">ScilabEval</link>
141
<link linkend="TCL_EvalFile">TCL_EvalFile</link>
144
<link linkend="TCL_EvalStr">TCL_EvalStr</link>
147
<link linkend="TCL_SetVar">TCL_SetVar</link>
150
<link linkend="TCL_ExistVar">TCL_ExistVar</link>
153
<link linkend="TCL_UnsetVar">TCL_UnsetVar</link>
156
<link linkend="TCL_UpVar">TCL_UpVar</link>
159
<link linkend="TCL_CreateSlave">TCL_CreateSlave</link>
162
<link linkend="TCL_DeleteInterp">TCL_DeleteInterp</link>
134
<refsection role="see also">
135
<title>See Also</title>
136
<simplelist type="inline">
138
<link linkend="ScilabEval">ScilabEval</link>
141
<link linkend="TCL_EvalFile">TCL_EvalFile</link>
144
<link linkend="TCL_EvalStr">TCL_EvalStr</link>
147
<link linkend="TCL_SetVar">TCL_SetVar</link>
150
<link linkend="TCL_ExistVar">TCL_ExistVar</link>
153
<link linkend="TCL_UnsetVar">TCL_UnsetVar</link>
156
<link linkend="TCL_UpVar">TCL_UpVar</link>
159
<link linkend="TCL_CreateSlave">TCL_CreateSlave</link>
162
<link linkend="TCL_DeleteInterp">TCL_DeleteInterp</link>