Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

HTMLElementGetErrorLog Function

Overview

The HTMLElementGetErrorLog function returns the log for the specified HTML Element Object.

Syntax/Parameters

Syntax

handle = HTMLElementGetErrorLog ( handle hHE );

Parameters

hHE

A handle specifying the HTML Element Object.

Return Value

A handle to a Log Object or NULL_HANDLE on failure. Use the GetLastError function to retrieve a formatted error code.

While a Log Object handle is returned, in this context handle is unmanaged and belongs to the specified HTML Element Object.

Remarks

If a log has not been created by adding erroneous items to the HTML Element Object, an empty Log Object will be created.

If an incoming SGML Object value contains an error, a message will be added to the log during execution of the HTMLElementLoad and HTMLElementMerge functions.

Each time the HTMLElementLoad function is called the log will be reset. It is also reset on calling the HTMLElementClear function. This is important if the caller adds items to the log as they will be removed on calling these functions.

The returned handle is unmanaged, closing the handle will not impact the HTML Element Object.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2026-07-20