Next: isvector() Up: MacAnova Help File Previous: isscalar()   Contents

isstruc()

Usage:
isstruc(arg1 [, arg2, ... ])



Keywords: macros, general, structures
isstruc(arg) returns True or False, depending on whether arg is a
structure.  If arg is undefined, isstruc() returns False.

isstruc(arg1, arg2, ..., argk) returns a LOGICAL vector, each element of
which is True or False depending on whether or not the corresponding
argument is a structure.

The principal use of isstruc() is in checking the arguments of a macro
for appropriateness.  See argvalue() for another way to check for the
properties of macro arguments.

See also topics 'structures', 'macros', isarray(), ischar(),
isdefined(), isfactor(), isfunction(), isgraph(), islogic(), ismacro(),
ismatrix(), isname(), isnull(), isnumber(), isreal(), isscalar(),
isvector().


Gary Oehlert 2003-01-15