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.
Learn more
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!