evalomlscript

Evaluates a OML script.

Syntax

set status [evalomlscript omlscript]

Inputs

omlscript
Any valid OML command as a string.
Type: string

Outputs

status
Status of the OML script executed.
1 = success
"error message" - failure
Type: int | string

Example

set status [evalomlscript "x=9"]
1

Comments

Any error reported by OML is returned as a string. Returns 1 on success.