Delete a variable.
bool CExtAPI::var_Delete(ZVAR hVar);
Name | Type | Comment |
---|---|---|
hVar | ZVAR | A ZVAR handle to the variable to be deleted. |
False if an error occurred, and true otherwise.
Once the variable has been deleted, the ZVAR handle becomes unassigned and cannot be used without first re-assigning it to another variable (e.g. using var_Create, var_GetVar, list_GetItemA, etc). Using an unassigned ZVAR is a sure way to get a general protection fault from Windows.