int _ GDget_str_val ( parent_id , _ elem_name , _char ** string );
int _ GDget_newstr_val ( parent_id , _ elem_name , _ seq , _char ** string );
int _ GDget_updstr_val ( parent_id , _ elem_name , _ seq , _char ** string );
void _ GDset_newstr_val ( parent_id , _ elem_name , _ seq , _char * string );
OMobj_id _ parent_id ;
char _* elem_name ;
int _* seq ;
GDget_str_val gets a string value and places the value into string . The return value is 1 if successful, 0 if a failure.
GDget_newstr_val gets a string value and places the value into string . The routine also returns the string's updated sequence number. The return value is 1 if the data has changed, 0 if it has not.
GDget_updstr_val gets a string value and places the value into string . The return value is 1 if the data has changed, 0 if it has not.
GDset_newstr_val sets a string value. The routine also returns the string's updated sequence number.
/* Get the name of the current object, stored in GDobj_sel. */
OMobj_id _obj_sel_id; /* Assume this has been set. */
char curobj_name[40];
int seq;
...
GDget_newstr_val(GDobj_sel, "curobj_name", &seq,
&curobj_name);