Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter EightData Functions (continued)

HasRowData Function

Overview

The HasRowData function tests if a table row contains data.

Syntax/Parameters

Syntax

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

Parameters

table

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

index

An int specifying the row to test.

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

HasRowData differs from IsRowEmpty 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