Was this helpful?
ArrayAllRows()
Counts records in an array.
Syntax
returnfield = [callproc] arrayallrows(arr)
returnfield
Specifies the name of field to which the result is returned. Integer.
arr
Specifies the name of an array
Description
The arrayallrows() built-in function returns the total number of records in an array, including those marked deleted.
The procedure returns 0 if the array is empty and contains no deleted rows.
Example
To count the total number of employee records in the array emparray, including deleted records:
total = callproc 
  arrayallrows (emparray);
Last modified date: 08/14/2024