OMset_name_int_val

Synopsis


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

Description

For a complete description of this function, see OMget_int_val and OMset_int_val .

Arguments

object_id
The id of an object, expressed as an integer.
name
The name of one of object_id's immediate subobjects, expressed as an integer.
ival
The subobject's value, expressed as an integer.

Returned value

The status code (see OMget_int_val and OMset_int_val).

Examples

none.

#include <avs/omf.inc>
INTEGER parent_object(OIDSIZ)
INTEGER value
...
value = 15
IF (OMFset_name_int_val(parent_object,
. OMFstr_to_name('ival'),
. value) .NE. 1)
. PRINT*,'Error setting value of object ival'

See Also

OMFget_name_int_val