OMFset_int_val


Synopsis


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

Description

For a complete description of this function, see .

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

Example


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

See also

Related module:

•      OMFget_int_val