Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EightData Functions (continued)

IsColumnEmpty Function

Overview

The IsColumnEmpty function tests a table column for data.

Syntax/Parameters

Syntax

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

Parameters

table

An array of string [or integer] data which must resolve to two-dimensions.

index

An int specifying the zero-based index to the column to test.

Return Value

Returns a boolean value as TRUE if the column is empty or FALSE if it is not. The function also returns TRUE on error. Use the GetLastError function to retrieve error information.

Remarks

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

IsColumnEmpty differs from HasColumnData 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