TOC PREV NEXT INDEX

OMFget_int_val

Synopsis


INTEGER FUNCTION OMFget_int_val(object_id,
. ival)
#include <avs/omf.inc>
INTEGER object_id(OIDSIZ)
INTEGER ival

Description

For a complete description of this function, see OMget_int_val.

Arguments

object_id
The id of an object, expressed as an integer.
ival
The object's value, expressed as an integer.

Returned value

The status code (see OMget_int_val ).

Examples


#include <avs/omf.inc>
      INTEGER parent_object(OIDSIZ), ival_id(OIDSIZ)
      INTEGER value
      ...
      IF (OMFfind_subobj(parent_object,
.       OMstr_to_name('ival'),
. OM_OBJ_RD,
. ival_id) .NE. 1)
. PRINT*,'Error searching for ival' C
      IF (OMFget_int_val(ival_id,value) .NE. 1)
. PRINT*,'Error getting value of object ival'

See Also

OMFset_int_val

TOC PREV NEXT INDEX