evaltclfile

Evaluates a Tcl file.

Syntax

[status,errormessage] = evaltclfile (filename)

Inputs

filename
A fully qualified Tcl file name.
Type: string

Outputs

status
Status of the file execution.
1 = success
0 = failure
Type: number
errormessage
Error message indicating the failure.
Type: string

Example

[status,errormessage]=evaltclfile('C:/test.tcl')
status = 1
errormessage =