ncomps(Str) where Str is a structure |
Usage and example
ncomps(Str) returns the number of components in structure Str. It is an
error if Str is not a structure.
Example:
Cmd> ncomps(describe(run(10))) # describe has structure result
(1) 8
Cross references
See also topics ndims(), dim(), length(), isstruc(), describe(),
'structures'.