# gauge_calculator_code_precompile The **gauge\_calculator\_code\_precompile** function compresses a calculator string into a more efficient internal format.   ##### Syntax ``` wasm BOOL gauge_calculator_code_precompile( PCSTRINGZ* pCompiled, UINT32* pCompiledSize, PCSTRINGZ source ); ```   ##### Members {{< table-wrapper >}} | 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. | {{< /table-wrapper >}}   ##### 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.