CheckNumberOrExpression method
Overview
Checks if:
- a given expression is valid
- a number is correct according to the locale.
Parameters
Name | Description | Type |
---|---|---|
qExpr | Expression to check. | String |
Outputs
The following is returned in the output:
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"qErrorMsg": "<message displayed when there is a syntax error>",
"qBadFieldNames": [
{
"qFrom": <position in the expression of the first character of the field name>,
"qCount": <number of characters of the field name>
}
]
}
}
Information noteThe expression is correct if the parameters qErrorMsg and qBadFieldNames are empty.