Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetmsgrd()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETMSGRD()
 Reads the message from broadcast buffer
------------------------------------------------------------------------------
 Syntax

     NNETMSGRD([<lNotDelete>]) --> cMessage

     Netware: 2.2 and 3.11

 Argument

     <lNotDelete>  Designates an optional parameter that allows you to
     read a message from the buffer without changing the contents of the
     buffer.  If <lNotDelete>  is designated .T., the message remains in the
     buffer.  If <lNotDelete> is designated .F., the message is deleted from
     buffer.

 Returns

     NNETMSGRD() returns a character string that contains the message that
     has been received previously in the background.

 Description

     NOVELL NET MESSAGE READ
     NNETMSGRD() allows you to read messages from the broadcast buffer after
     the buffer has been opened with NNETMSGOPN().  NNETMSGRD() always
     returns the oldest message.  If the buffer is empty or if the broadcast
     system is not installed, NNETMSGRD() returns an empty string.

 Example

     Read a message from the broadcast buffer, and emulate the Novell
     standard behavior:

     #include "inkey.ch"

     IF .NOT. EMPTY(cMsg:=NNETMSGRD())
     @ 24,0 SAY cMsg
     WHILE INKEY()!=K_CTRL_RETURN
     ENDDO
     ENDIF

See Also: NNETMSGOPN() NNETMSGCNT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson