Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FourFlow Control (continued)

GetScriptDefaultLog Function

Overview

The GetScriptDefaultLog function finds a specified script in the completed script queue and takes the default output log object, if available.

Syntax/Parameters

Syntax

handle = GetScriptDefaultLog ( handle hObject );

Parameters

hObject

A handle to a background thread or to a script.

Return Value

Returns a Log Object handle for a complete background script or NULL_HANDLE on failure. Use the GetLastError function to retrieve a formatted error code. The handle should be closed using the CloseHandle function and it has been used.

Remarks

Only logs from completed background threads may be retrieved. In addition, if the caller waits too long, a completed background thread’s resources may be deleted.

If a default log was never created, the function will return an error.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic