#

# LogiView

## Command 'ask'

| This command opens a request form and asks for user input of a value. A free text string to be displayed as form text must be passed on to the command.
| This command must not be called in a conditional instruction.
| ### Syntax:
| ask({VAR},{STR_EXPR})
| ### I/O parameters:
| {STR_EXPR} | Message text.
| {VAR} | Variable to be initialized with value input. If there is an existing value it is shown as preassignment.
| ### Return value:
| - |
| ### Example:
| Declaration of Variables
    10 ask(DOCU_FLOAT_1,"Please enter voltage [Volt]!")
| Result:
| DOCU_FLOAT_1 variable is defined with value input.
| Other than "ask_mes" "ask" will always use the {STR_EXPR} string regardless of the active language. (No multiple language support!)
| If a request form with a Yes- and a No-button should appear, then as a first parameter a logic variable has to be used. In the normal case the Yes-button will be supported. In order to support the No-button, the message text in T_MESSAGE can be expanded by adding [NO] separated by blanks! Example:
           10 ask(EP_LOGIK, "This is my text [NO]")
| Functions and commands: Input/Output