Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

HTMLTableFindCell Function

Overview

The HTMLTableFindCell function locates a cell by file position and returns the map index (and row and column).

Syntax/Parameters

Syntax

int = HTMLTableFindCell ( handle hTable, int x, int y );

Parameters

hTable

A handle to an HTML Table Map Object.

x  y

Zero-based int values specifying the the character and line position within the mapped file.

Return Value

Returns an int as a position within the table map or a formatted error code on failure.

If the operation is successful, the high word will contain the row and the low word will contain the column. Use the GetHighWord and GetLowWord functions to retrieve the components. The size of each is limited to 0x7FFF, or 32,767.

Remarks

Table items can be referenced by row and column, or by map index. To locate a cell by file position, this function will scan the for a matching cell and return the corresponding logical position.

The positions must match exactly.

Related Functions

Platform Support

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

Legato IDE, Legato Basic