Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

SGMLEnumerateErrors Function

Overview

The SGMLEnumerateErrors function dumps any parsing and validation errors to the specified Log Object.

Syntax/Parameters

Syntax

string [] = SGMLEnumerateErrors ( handle hSGML );

Parameters

hSGML

A handle to an SGML Object.

Return Value

A string array containing the errors or empty on failure. Use the GetLastError function to retrieve a formatted error code. The last item contain no errors, the last error will be ERROR_EOD.

Remarks

Each entry of the array will be an error. The string will be prefixed with the error types: “Info:” “Advisory:”, “Warning:”, “Error:” or “Fatal:”, which correspond to the error types. Types none and string do not have a prefix and generally do not appear in the enumeration.

Related Functions

Platform Support

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

Legato IDE, Legato Basic