QUERY action


FunctionQuery (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
identIntinIdentifier of the Int type for saving a response.
strExpressioninExpression of the String type.
procIDentinIdentifier of the Process type object (Human Interface).
TIMEOUT numberinMaximal 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 modeThe value assigned to the identifier identIntMeaning
Yes_Q_YESAcceptance
No_Q_NORefusal
I don't know_Q_DONTKNOWThe decision is up to script.
Timeout expiration_Q_TIMEOUTThe 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).


Related pages:

Napíšte komentár