The INMAT function returns information about arrays.
Format
INMAT( ) INMAT(array.variable) |
Description
When used with an array variable, the INMAT function returns the dimensions of the array. If the array has one dimension, then the result is returned as a numeric value. If the array has two dimensions, then the result is returned as a dynamic array of this format:
{maximum rows}]{maximum columns} |
The INMAT function returns the number of elements filled in the last MATREAD, MATPARSE, or dynamic to static array conversion. When INMAT is used immediately following an OPEN statement, it returns the MODULO of the file that was opened.
NOTE |
INMAT is only valid immediately after these operations. |
See Also