Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EightData Functions (continued)

HasColumnData Function

Overview

The HasColumnData function tests if a table column contains data.

Syntax/Parameters

Syntax

boolean = HasColumnData ( var[][] table, int index );

Parameters

table

An array of string or int data which must resolve to two dimensions.

index

A int specifying the column to test.

Return Value

Returns a boolean as TRUE if the table column contains data or FALSE if it does not. On error, the function returns FALSE. Use the GetLastError function to retrieve error information.

Remarks

The HasColumnData function checks the axis depth and the content. The array must be two-dimensional. Strings are trimmed of trailing spaces before testing.

HasColumnData differs from IsColumnEmpty only in that the returned result is the logical opposite value.

Related Functions

Platform Support

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

Legato IDE, Legato Basic