Equinox Online Help - Language Reference - A to Z
MessagesWaiting |
|
|---|---|
| Applies to | ![]() |
| Syntax | MessagesWaiting |
| 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. |
| Scope | Usable anywhere. |
| Notes | |
| Category | Messages |
| 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 |
