TOC PREV NEXT INDEX

OMFget_obj_parent

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 OMget_obj_parent.

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 OMget_obj_parent).

Examples

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'

See Also

none.

TOC PREV NEXT INDEX