CheckExpression method
Checks if a given expression is valid.
The expression is correct if the parameters qErrorMsg , qBadFieldNames and qDangerousFieldNames are empty.
Parameters
| Name | Description | Mandatory | Type |
|---|---|---|---|
| qExpr | Expression to check. |
Yes | String |
| qLabels | List of labels. |
No | Array of Strings |
Returns
| Name | Description | Type |
|---|---|---|
| qErrorMsg | <message displayed when there is a syntax error> |
String |
| qBadFieldNames | [ { "qFrom": <position in the expression of the first character of the field name>, "qCount": <number of characters of the field name> } ] |
Array of NxRange |
| qDangerousFieldNames | [] |
Array of NxRange |