|
5.1.15 defined
Syntax:
defined ( name )
Type:
- int
Purpose:
- returns a value <>0 (TRUE) if there is a user-defined object with this name,
and 0 (FALSE) otherwise.
A non-zero return value is the level where the object is defined (level
1 denotes the top level, level 2 the level of a first procedure, level 3
the level of a procedure called by a first procedure, etc.). For ring
variables and other constants, -1 is returned.
Note:
- A local object
m may be identified by if
(defined(m)==voice) .
Example:
See
rvar;
voice.
|