OMFfind_subobj
Synopsis
INTEGER FUNCTION OMFfind_subobj (parent_id,
. name,
. mode,
. returned_id)
#include <avs/omf.inc>
INTEGER parent_id(OIDSIZ)
INTEGER name, mode
INTEGER returned_id(OIDSIZ)Description
For a complete description of this function, see OMfind_subobj.Arguments
parent_idnamemodeIndication of how the process intends to use the object. The following constants are predefined in the include file omf.inc :
returned_idReturned value
1 on success; 0 if OMnull_obj is returned.Examples
C Find subobject x. Its parent's id is grp1_id.
#include <avs/omf.inc>
INTEGER grp1_id (OIDSIZ), x_id(OIDSIZ)
...
OMFlookup_subobj
OMFfind_objIF (OMFfind_subobj(grp1_id,
. OMFstr_to_name('x'),
. OM_OBJ_RD,
. x_id) .NE. 1) PRINT*,'Err searching for x'See Also