The NUM function returns the row number of the last data element transferred into an array by a MAT I/O statement. Example Row_count% = NUM
1 – Syntax
int-var = NUM