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
ParametersDescription
pCompiledPointer to a string, which will contain the compiled string if the function call is successful.
pCompiledSizePointer to an integer, which will contain the length of the compiled string if the function call is successful.
sourceSpecifies 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.