![]() |
![]() |
![]() |
![]() |
OMFget_str_val_mode
Synopsis
INTEGER FUNCTION OMFget_str_val_mode (object_id,
. cval,
#include <avs/omf.inc>
INTEGER object_id(OIDSIZ)
CHARACTER*(*) cvalDescription
For a complete description of this function, see OMset_str_val_mode .Arguments
object_idcvalA character string specifying the object's value. This call requires that you pass a locally defined character variable and doesn't allow for memory allocation.
Returned value
The status code (see OMset_str_val_mode ).Examples
#include <avs/omf.inc>
INTEGER parent_object(OIDSIZ), cval_id(OIDSIZ)
CHARACTER*30 value
...
IF (OMFfind_subobj(parent_object,
. _OMstr_to_name('cval'),
. _OM_OBJ_RD,
. _cval_id) .NE. 1)
. PRINT*,'Error searching for cval'
C
value = 'My String'
IF (OMFset_str_val(cval_id,value,LEN(value)) .NE. 1)
. PRINT*,'Error setting value of object cval'See Also
![]() |
![]() |
![]() |
![]() |