LogiView

Command 'ask_mes'

     
This command opens a request form and asks for user input of a value. The form text message is defined in the "Message" DataView entity.
A list of all messages can be displayed by clicking the button of the masks toolbar.
This command must not be called in a conditional instruction.
 

Syntax:

  ask_mes({VAR}{STR_EXPR}) or
ask_mes({VAR},{STR_EXPR},{EXPR_LIST})
 

I/O parameters:

{STR_EXPR} Name of message to be displayed.
{EXPR_LIST} List of up to three expressions of arbitrary type. Arguments (expressions) must be seperated by colons.
{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_mes(DOCU_STRING_1,"EDB-WFL-MAL-ACP-MES")
 

 

DOCU_STRING_1 variable is defined with value input.

Unlike the "ask", the "ask_mes" command will evaluate and act according to the Agile e6 language settings.
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:

EDB-FIL-CKI-RST-RES Should the document be reserved? [NO]

Functions and commands: Input/Output