====== ztype_GetName ====== ===== Description ===== Get the name of a variable type, as a string variable, corresponding to a given [[zeolite:varID|variable type ID]]. ===== Files ===== ^ Declaration | ''Zeolite.h'' | ^ Implementation | ''Zeolite.cpp'' | ===== Function prototype ===== bool ztype_GetName(long VarID, ZVAR hStringVar); ===== Arguments ===== ^ 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 [[zeolite:functions:zvar_Create]], [[zeolite:functions:zvar_CreateShared]] or [[zeolite:functions:zlist_CreateItem]].) | ===== Return value ===== False if an error occurred or the given VarID was not recognised, and true otherwise. ===== Comments ===== The value of the string contained in //hStringVar// can be retrieved using [[zeolite:functions:zstr_GetText]].