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

-Checks message port given as name for available messages
-The named message port must have been opened by a prior call to Openport()
within the current ARexx program. The returned value is the 4-byte address
of the first message packet or '0000 0000'x if no packets were available.
-The function returns immediately if a packet isn't found at the message
port. Instead of "busy-looping" on a port, the program should call Waitpkt()
and allow other tasks to proceed.