Table of Contents

CzVar::SetVarRef

Description

Set the variable attached to this CzVar object to be a reference/alias of another variable.

Function prototype

bool CzVar::SetVarRef(ZVAR hSrcVar);

Arguments

Name Type Comment
hSrcVar ZVAR A ZVAR handle to the variable that shall be aliased by the variable attached to the CzVar object.

Return value

False if an error occurred, and true otherwise.

Comments

This function is equivalent to the API function var_SetVarRef. Please refer to the documentation of that function for additional information.