currentArrayCount()

You can use the consoleLib.currentArrayCount() system function to determine the number of elements in the dynamic array that is associated with the current active form.

EGL provides the consoleLib.currentArrayCount() function to support applications migrating from Informix® 4GL. Do not use this function in new code; instead, use the array-specific getSize() function; see Arrays.

Syntax

  consoleLib.currentArrayCount( )
  returns (result INT)
result
The number of elements in the current array.

Example

The following example shows the consoleLib.currentArrayCount() function:

 maxIndex = consoleLib.currentArrayCount();

Feedback