TCL Function

ScilabEval - tcl instruction : Evaluate a string with scilab interpreter

### Parametres

- `o` str : tcl string character Contains the string to evaluate with the current scilab interpreter.

### Description

This function must be called in a tcl/tk script executed from scilab. It allows to associate scilab actions to tcl/tk widgets (graphic objects). The string str is put in the scilab interpreter buffer which then evaluates it. This has in general no border effect in the tcl/tk interpreter.

### Exemples

    //Create a Tcl script using ScilabEval
    tcl_script=['toplevel .w1'
    'button .w1.b -text ""Click here to see a new Scilab Graphic Window""\'
    '  -command {ScilabEval ""xselect()""}'
    'pack .w1.b ']
    mputl(tcl_script,TMPDIR+'/test.tcl')
    // Execute the tcl script
    TK_EvalFile(TMPDIR+'/test.tcl')

### Voir aussi

`TK_EvalFile` `TK_EvalStr` `TK_GetVar` `TK_SetVar`

### Auteur

Bertrand Guiheneuf