EvalOmlScript

Evaluates an OML file.

Syntax

status = EvalOmlScript(omlScript)

Inputs

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

Outputs

status
Status of the script executed.
Type: int | string

Example

status = EvalOmlScript('x=9');print(status)

1

Comments

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