TOC PREV NEXT INDEX

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

Examples


#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

OMFget_int_val

TOC PREV NEXT INDEX