Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский -
Scilabヘルプ >> Tcl/Tk Interface > TCL_CreateSlave

TCL_CreateSlave

Create a TCL slave interpreter

Syntax

TCL_CreateSlave(slaveName[, isSafe])

Arguments

slaveName

String: Name of the TCL slave interpreter to create.

isSafe

Boolean: %T to create a safe slave interpreter, %F otherwise. The default value is %F. A safe slave is not allowed to perform some operations, see the TCL documentation for more information.

Description

This routine allows to create a TCL slave interpreter.

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

Examples

TCL_CreateSlave("TCLinterp")
TCL_SetVar("a","r","TCLinterp")
TCL_ExistVar("a","TCLinterp")
TCL_ExistVar("a")
TCL_DeleteInterp("TCLinterp")

TCL_CreateSlave("TCLinterp", %T)
TCL_SetVar("a","r","TCLinterp")
TCL_ExistVar("a","TCLinterp")
TCL_ExistVar("a")
TCL_DeleteInterp("TCLinterp")

See Also

Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:35:45 CEST 2016