exportlisttooml
Exports the Tcl list to the OML variable.
Syntax
set status [exportlisttooml tclvariablename omlvariablename index]
Inputs
- tclvariablename
 - Any valid Tcl variable name as a string.
 - omlvariablename
 - Any valid OML variable name as a string.
 - index (optional)
 - Index of the element in the list. Exports entire list if index is not provided.
 
Outputs
- status
 - Status of exporting the Tcl list to the OML variable.
 
Example
set lis [list true 2 3.3 "4"]
set status [exportlisttooml lis omllist]
      1
    Comments
Any error reported by OML is returned as a string. Returns 1 on success.