GET.MESSAGES()

GET.MESSAGES()

Top  Previous  Next

 

The GET.MESSAGES() function returns any messages currently queued for display.

 

 

Format

 

GET.MESSAGES()

 

 

The GET.MESSAGES() function allows an application to retrieve messages queued by the MESSAGE command and display these in a convenient form. The returned string contains one field for each message, in chronological order of message generation. Each field has two values; the message text and the message origin header. The second value may not be present in all messages.

 

Use of GET.MESSAGES() removes the messages from the queue so that they are not displayed on return to the command prompt. Normally, the application that uses GET.MESSAGES() would handle display of the messages.

 

Messages submitted with the IMMEDIATE option of the MESSAGE command appear on the screen immediately and cannot be retrieved with the GET.MESSAGES() function.