Equinox Online Help - Language Reference - A to Z

Home

MessagesWaiting

Applies to
SyntaxMessagesWaiting
Action[Function] Returns the total number of messages in the server message queue, zero or more of which may be targeted at the current client.
ScopeUsable anywhere.
Notes
CategoryMessages
See Also DeleteAllMessages, DeleteMessage, DisplayMessage, MessageID, MessageMaxLength, MessageQueueSize, MessageRetrieved, QueueMessage, RetrieveMessage
Example

The following example checks if there are any messages queued for the current user and if so retrieves the next one into the workarea NextMessage.

If MessagesWaiting > 0 Then RetrieveMessage NextMessage