LogiView

Command 'put_mes'

     

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 of the masks toolbar ..
  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
put_mes({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 separated by colons.
-  
 

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