Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EightData Functions (continued)

InsertTableRow Function

Overview

The InsertTableRow function inserts one or more empty rows into a table.

Syntax/Parameters

Syntax

int = InsertTableRow ( var table[], int index, [int count] );

Parameters

table

A two dimension array of any type.

index

A zero-based int specifying the row to insert before. To append, set the index to the row axis depth.

count

An optional int specifying the number of rows to insert. If omitted, the value is 1.

Return Value

Returns an int as ERROR_NONE or a formatted error code of failure.

Remarks

Rows (x-axis) are shift from the top to insert empty rows of elements. The axis depth is used to mark the end point. If the index is outside the size of the array, an error will be returned.

Key name positions are not adjusted.

Related Functions

Platform Support

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

Legato IDE, Legato Basic