gauge_calculator_code_precompile

The gauge_calculator_code_precompile function compresses a calculator string into a more efficient internal format.

 

Syntax
BOOL gauge_calculator_code_precompile(
    PCSTRINGZ*  pCompiled,
    UINT32*  pCompiledSize,
    PCSTRINGZ  source
    );

 

Members
Parameters Description
pCompiled Pointer to a string, which will contain the compiled string if the function call is successful.
pCompiledSize Pointer to an integer, which will contain the length of the compiled string if the function call is successful.
source Specifies the source calculator string.

Return Values

If the function succeeds, it returns a non-zero value. If it fails, it returns zero.

 

Remarks

A precompiled (compressed) calculator string can be used as input to the execute_calculator_code and format_calculator_string functions.

 

See Also