Synopsis
       INTEGER FUNCTION OMFget_obj_parent(object_id,
      .                                   parent_id)
#include <avs/omf.inc>
       INTEGER object_id(OIDSIZ)
       INTEGER parent_id(OIDSIZ)
Description
For a complete description of this function, see .
Arguments
object_id
The id of an object, expressed as an integer.
parent_id
The parent's id, as an integer value.
Returned value
The status code (see ).
Example
C Get object var1_id's parent
#include <avs/omf.inc>
       INTEGER var1_id (OIDSIZ), parent(OIDSIZ)
       ...
       IF (OMFget_obj_parent(var1_id,
      .                                            parent) .NE. 1) PRINT*,'Object has no parent'