|
The QMSet() function sets data or executes a public subroutine in an instantiated object on the server system.
The function arguments are:
| Name | is the name of a public variable or public function within the object. |
| ArgCt | is a count of arguments to be passed into the object. This argument is not present in some variants of the QMClient API. |
| Arg1... | is a series of argument values as strings. |
The example program fragments below set the value of the State property to "Online" in an object previously instantiated with the reference value in Objno. In this example, there are no arguments passed into the object.
QMSet(short int Object, char * Name, short int ArgCt, Arg1,...)
QMSet(Objno, "State", 1, "Online");
The arguments follow the ArgCt and must be passed as strings. Any argument values updated by the object can be retrieved using the QMGetArg() function.
|
QMSet(ByVal Object as Short, ByVal Name as String, ArgCt as Short, Optional ByRef Arg1 as String, ...)
QMSet(Objno, 'State', 1, "Online")
The arguments must be passed as strings. Any argument values updated by the object can be retrieved using the QMGetArg() function
|
Set(Objno, Name {, Arg1, ...})
session->Set(Objno, 'State', 'Online')
|
QMSet(int Object, String Name, int ArgCt, Arg1,...)
qm.Set(Objno, "State", 1, "Online");
The arguments follow the ArgCt and must be passed as strings. Any argument values updated by the object can be retrieved using the QMGetArg() function.
|
Set(Object, Name, ArgCt, Arg1,...)
qm.Set(Objno, "State", 1, "Online")
The arguments follow the ArgCt and must be passed as strings. Any argument values updated by the object can be retrieved using the QMGetArg() function.
|
See also:
QMCreateObject(), QMDestroyObject, QMGet()
|