width
Number of table variables
Syntax
W = width(T)
Input argument
T - Input array (table or other).
Output argument
W - a integer value: Number of Variables in Table or size(T, 2).
Description
W = width(T) returns the number of variables in the table T.
The function width(T) is equivalent to size(T, 2), which also provides the number of columns in the table.
Example
See also
History
Version | Description |
---|---|
1.8.0 | initial version |
Author
Allan CORNET
Last updated