|
This command is used to display a message from the DataView entity 'MESSAGE'. |
|||||||||
![]() |
A list of all messages
can be displayed by clicking the button ![]() |
|||||||||
The message is displayed in the message bar. Since the message text can contain up to three wildcards (%s), it is possible to forward a corresponding number of expressions to the function 'put_mes' (LogiView converts them to strings internally). | ||||||||||
Syntax: |
||||||||||
put_mes({STR_EXPR}) or |
||||||||||
I/O parameters:
|
||||||||||
Return value: |
||||||||||
|
||||||||||
Example: |
||||||||||
Declaration of Variables | ||||||||||
10 DOCU_STRING_1 = language() 15 DOCU_STRING_2 = strcat("Language used is:/Selected language: ", DOCU_STRING_1) 20 put(DOCU_STRING_2) 30 put_mes("EDB-ASS-PRS-CRE-OK") |
||||||||||
Result: | ||||||||||
|
||||||||||
![]() |
The difference between "put" and "put_mes" is that the language set in Agile e6 is accounted for if "put_mes" is used. | |||||||||
![]() |
Functions and commands: Input/Output |