TABLE_GET_DIMENSION

Returns an integer representing the number of rows or columns in a table or the number of cells in a row or column.

Format

TABLE_GET_DIMENSION (O_table, Rows_or_cols)

Arguments

 
O_table
Data/object table of interest.
Rows_or_cols
String "rows" or "cols" to indicate desired dimension.

Examples

The following example returns the number of rows in a table:
The following example returns the number of columns in a table: