Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

FieldNextField Function

Overview

The FieldNextField function parses forward to locate the next HTML field structure.

Syntax/Parameters

Syntax

dword = FieldNextField ( handle hField, [int x, int y] );

Parameters

hField

A handle to a Field Object.

x

An optional int value specifying the zero-based X position to parse from. The position is native. When provided, the Y position must also be provided. If omitted, the function parses from the current position.

y

An optional int value specifying the zero-based Y position to parse from. The X position must be provided with this parameter.

Return Value

A dword containing a field token or a formatted error code on failure.

Remarks

If the x and y parameters are not provided, the scan starts from the end of the last field found. The default starting position for the first parse 0, 0. The current parse position is shared by all field functions that load or look for fields.

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