BAP Online Manuals : Library Reference : Library by Name : clear_mailbox
Previous: clause
Next: clearwindow

6.2.21. clear_mailbox

removes all messages from the mailbox

SYNOPSIS

INCLUDE 'msglib.h'
clear_mailbox

SYNTAX

 clear_mailbox

ARGUMENTS

(none)

DESCRIPTION

This predicate removes all entries from the mailbox of the process. Its use should be carefully evaluated, as also system messages could be lost!. It is not advisable to use together with the client-server or object layer, but rather to construct your own communication level.

ERRORS

Always succeeds. No runtime errors.

LAYERS

prolog-process

RELATED PREDICATES

rec_msg , query_msg


BAP Online Manuals : Library Reference : Library by Name : clear_mailbox
Previous: clause
Next: clearwindow