#### UBound

Function

- UBound(array_variable);

Description

This function is used to return a number of the array's element count.

Argument

- array_variable
  array_variable refers to an Array value, expression or variable.

Return value

Returns a Number value.

Examples

- The return value of the following statement is 5.

  `integer a[] = [1,1,1,1,1];
  UBound(a)`

- The return value of the following statement is 6.

  `UBound([$1, $2, $3.0, $4.5, $45, $67])`.