QMGetVar() |
|
|
The QMGetVar() function returns the value of an @-variable from the server.
Format
where
The QMGetVar() function returns the value of an @-variable as a string. If the named variable does not exist, a null string is returned.
In the C API library, the dynamic memory allocated for the returned string must subsequently be freed by the calling program.
Examples
The above program fragment returns the value of the @SELECTED variable.
Note that the C example leaves variable SelectedCount pointing to dynamically allocated memory areas that must be released using QMFree() when no longer needed.
|