Contents | Index | < Browse | Browse >
usage: WAITPKT(name)

-Waits for a message to be received at the specified port-name which must
have been opened by a call to Openport() within the current ARexx program.
-The returned boolean value indicates whether a message packet is available
at the port. Normally the returned value will be 1 (True), since the
function waits until an event occurs at the message port
-The packet must then be removed by a call to Getpkt() and should be
returned eventually using the Reply() function. Any message packets received but
not returned when the program exits are automatically REPLYed with
the return code set to 10