Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EightData Functions (continued)

HasTableData Function

Overview

The HasRowData function tests if a table contains data.

Syntax/Parameters

Syntax

boolean = HasTableData ( var[][] array );

Parameters

array

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

Return Value

Returns a boolean value 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 HasTableData function checks the axis depth and the content. The array must be two-dimensional. Strings are trimmed of trailing spaces before testing.

HasTableData differs from IsTableEmpty 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