evalomlfile

Evaluates a OML file.

Syntax

set status [evalomlfile filename]

Inputs

filename
A fully qualified OML file name.
Type: string

Outputs

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

Example

set status [evalomlfile "C:/test.oml"]
1

Comments

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