Table of Contents

str_GetText

Description

Retrieve the value of a string variable, as a C-style string.

Function prototype

const char* CExtAPI::str_GetText(ZVAR hStr);

Arguments

Name Type Comment
hStr ZVAR A ZVAR handle to a string variable, the value of which is to be retrieved.

Return value

Null if an error occurred, and a valid C-string handle otherwise.

Comments

var_GetValue cannot be used to get the value of a string. Use this function instead.