TOC PREV NEXT INDEX

OMFset_name_str_val

Synopsis


INTEGER FUNCTION OMFset_name_str_val(object_id,
. name,
. cval,
#include <avs/omf.inc>
INTEGER object_id(OIDSIZ)
INTEGER name
CHARACTER*(*) cval

Description

For a complete description of this function, see OMset_str_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.
cval
A character string specifying the subobject's value.

Returned value

The status code (see OMset_str_val).

Examples


#include <avs/omf.inc>
INTEGER parent_object(OIDSIZ)
CHARACTER*30 value
...
value = 'My String'
IF (OMFset_name_str_val(parent_object,
. ___OMFstr_to_name('cval'),
. ___value) .NE. 1)
. PRINT*,'Error setting value of object cval'

See Also

OMFget_name_str_val

TOC PREV NEXT INDEX