LL_­NTFY_­EXPRERROR_EX

Task:

Notifies the application of an expression error found by the parser.

Activation:

Always active

Parameters:

The callback parameter is a pointer to a scLlNtfyExprErrorEx structure:

_­nSize: Size of the structure.

_pszExpr: Erroneous expression.

_pszError: Error text.

_pvHierarchy: Pointer to a VARIANT array, that contains the hierarchy of the error location.

Return Value:

0

Hints:

Since LlExprError() only leads to limited success when loading a project (also for printing) (since the internal formula parser may have already parsed a completely different formula when calling the function and thus may no longer have an error "active"), you can collect error messages and their error location via this callback and then report them to the user after LlPrintStart().