Get the name of a variable type, as a string variable, corresponding to a given variable type ID.
| Declaration | Zeolite.h |
|---|---|
| Implementation | Zeolite.cpp |
bool ztype_GetName(long VarID, ZVAR hStringVar);
| Name | Type | Comment |
|---|---|---|
| VarID | long | The variable type ID for which the corresponding name string is to be retrieved. |
| hStringVar | ZVAR | A ZVAR handle to a user-supplied string variable (created with zvar_Create, zvar_CreateShared or zlist_CreateItem.) |
False if an error occurred or the given VarID was not recognised, and true otherwise.
The value of the string contained in hStringVar can be retrieved using zstr_GetText.