Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

FieldFindClosingField Function

Overview

The FieldFindClosingField function parses forward to locate the corresponding closing field to the current field in the Field Object.

Syntax/Parameters

Syntax

dword = FieldFindClosingField ( handle hField );

Parameters

hField

A handle to a Field Object.

Return Value

A dword containing a field token or a formatted error code on failure. Note that the field tokens will always have the close bit checked (SGML_FIELD_CLOSE or 0x00008000).

Remarks

A field must be loaded into the Field Object. If the field is not defined to have content, the function will return an error. The companion function FieldGetFieldContent will locate the closing field and return the contents of the field.

The Field Object must have a data object associated to use this function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic