Table of Contents

str_SetText

Description

Set the value of a string variable.

Function prototype

bool CExtAPI::str_SetText(ZVAR hStr, const char* lpText);

Arguments

Name Type Comment
hStr ZVAR A ZVAR handle to a string, the value of which is to be set.
lpText const char* The value to be set, as a C-style string.

Return value

False if an error occurs, and true otherwise.

Comments

var_SetValue cannot be used to set the value of a string. Use this function instead.