Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ThreeData Types and Operators (continued)

ArrayGetKeys Function

Overview

The ArrayGetKeys function returns an array of all key names within an array in the order of the key name position.

Syntax/Parameters

Syntax

string[] = ArrayGetKeys ( variable name, [int axis] );

Parameters

name

An optional int specifying the axis from which the key names will be returned. The following are possible values:

Define Value Description
AXIS_X/AXIS_ROW 0 X dimension (rows)
AXIS_Y/AXIS_COL 1 Y dimension (columns)
AXIS_Z 2 Z dimension

 

Specifying -1 will direct the function to return key names from all the dimensions available. The default value is AXIS_X.

Return Value

Returns a string array containing the key names corresponding to each index position that has been used or an empty array on error. Use the GetLastError function to retrieve error information.

Remarks

The key names are returned sequentially in the order they appear in the array. If a key has not been specified for a specified index, that array position will be empty.

Related Functions

Platform Support

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

Legato IDE, Legato Basic