Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

HTMLTableGetColumnCount Function

Overview

The HTMLTableGetColumnCount function returns the number of columns found in the table map.

Syntax/Parameters

Syntax

int = HTMLTableGetColumnCount ( handle hTable );

Parameters

hTable

A handle to an HTML Table Map Object.

Return Value

Returns an int specifying the number of columns or -1 on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The columns count is determined by the cell positions and span values. There is no requirement that a table be “square” or rather have all cells filled on every row. Therefore it is possible to have a table with empty cells on the right that are counted as column positions but do not necessarily display in a browser.

Related Functions

Platform Support

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

Legato IDE, Legato Basic