Function | Query (question) for the operator into the defined D2000 HI process. |
Declaration | identInt := QUERYstrExpression [SINGLE] TIMEOUT number |
| or |
| identInt := QUERY strExpression [SINGLE] ON procIdent TIMEOUT number |
Parameters | identInt | in | Identifier of the Int type for saving a response. | strExpression | in | Expression of the String type. | procIDent | in | Identifier of the Process type object (Human Interface). | TIMEOUT number | in | Maximal wait time for response [s]. | SINGLE |
| Allows displaying single queries in form of a classic dialog box instead of a list. Multiple queries are still displayed as a list. |
|
Description | The action will show a text message (value of the expression strExpression) on the desktop of the defined D2000 HI process as a query, and the operator may respond to which (clicking a button) in three modes. According to the mode of a response, one of the following values will be assigned to the identifier identInt: Response mode | The value assigned to the identifier identInt | Meaning | Yes | _Q_YES | Acceptance | No | _Q_NO | Refusal | I don't know | _Q_DONTKNOW | The decision is up to script. | Timeout expiration | _Q_TIMEOUT | The decision is up to script, a query has not been answered. |
|
Example | Example of a single query if "SINGLE" is used in the command. Example of a single query if "SINGLE" is not used in the command. Selected queries may be saved into the clipboard (CTRL+C). |