Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ThreeData Types and Operators (continued)

ArrayHasKeyName Function

Overview

The ArrayHasKeyName function tests to see if a specified position along an array axis has a key name associated with it.

Syntax/Parameters

Syntax

boolean = ArrayHasKeyName ( variable name, int index, [int axis] );

Parameters

name

A name of a variable, which must be an array.

index

An int specifying the index to test.

axis

An optional int specifying the axis on which the index exists. 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

 

The default value is AXIS_X.

Return Value

Returns a boolean value as TRUE if the position contains a key name or FALSE if it does not.

Related Functions

Platform Support

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

Legato IDE, Legato Basic