getomlvar
Imports the OML variable value to the Tcl variable.
Syntax
set status [getomlvar omlvariablename tclvariablename]
Inputs
- omlvariablename
- Any valid OML variable name as a string.
- tclvariablename
- Any valid Tcl variable name as a string.
Outputs
- status
- Status of importing the OML variable value to the Tcl variable.
Example
evalomlscript "x=9"
set status [getomlvar x tclx]
1