TOC PREV NEXT INDEX

OMparse_obj_val, OMparse_obj_ref

Synopsis


int OMparse_obj_val (OMobj_id object,const char *buffer);
int OMparse_obj_ref (OMobj_id object,const char *buffer);

Description

OMparse_obj_val reads and parses an input string consisting of a valid definition for the value of a V object. The buffer argument contains any characters that can be placed after the "=" operator in a V statement and before the ";" statement terminator. Calling this routine has the same effect as entering this string in the VCP.OMparse_obj_ref is the same as OMparse_obj_val except that it uses the "=>" operator instead of "=".Error messages are sent to stderr.

Arguments

object
The id of an object.
buffer
A pointer to a NULL-terminated string consisting of V commands.

Returned value

The status code (seeReturn Status). A 0 return value indicates that syntax errors were encountered in the statement definition.

Examples

none.

See Also

none.

TOC PREV NEXT INDEX