Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter EightData Functions (continued)

DeleteTableRow Function

Overview

The DeleteTableRow function deletes one or more specified rows from a table.

Syntax/Parameters

Syntax

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

Parameters

table

A two dimension array of any type.

index

A zero-based int specifying the row to delete from.

count

An optional int specifying the number of rows to delete. 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 bottom to delete the elements and then the end point is zero filled. The axis depth is used to mark the end point. If the index and count are 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