Message related functions

The message buffer can buffer up to 63 unprocessed messages. Each time a message is retrieved, one of the earliest messages will be retrieved from the message buffer. After the message buffer is full, no more messages are received.

The relevant functions and data types are as follows.

Function or data type Description
ExMessage Message Structure.
flushmessage Flush the message buffer.
getmessage Get a messages until a message is available for retrieval.
peekmessage Get a message if any exist, otherwise return false.

(贡献者:Krissi  编辑