Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> send</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SEND
------------------------------------------------------------------------------
 Purpose:
 Emulates the Novell SEND.EXE utility.

 Syntax:
 SEND <message> TO <username>

 Parameters:
 message  The message to send.
 username The user to receive the message.

 Returns:
 None.
 NWErrorGet() returns non-zero if an error occurs.

 Description:
 SEND is a CA-Clipper 5.x UDC to emulate the Novell SEND.EXE utility, and
 is used to send a message to another user on the network.

 The message should be enclosed in double quotes if it contains more than
 one word.

 Example:
 // To send a message to user DAVE:

 #include "novlib.ch"
 SEND "Hello there" TO DAVE
 if ( NWErrorGet() = 0 )
    ? "Message successfully sent to user DAVE"
 endif

 // To perform the same operation with variables:

 #include "novlib.ch"
 MsgStr = "Hello there"
 UserStr = "DAVE"
 SEND &MsgStr TO &UserStr
 if ( NWErrorGet() = 0 )
    ? "Message successfully sent to user DAVE"
 endif

 Notes:
 This version of SEND sends a message to the first workstation
 connection of the user. The source is in NOVLIB.CH and NOVLIB50.PRG and can
 be modified to send to groups as well.

 This function requires that NOVLIB50.PRG is compiled and linked in to your
 program.

See Also: WSMessageSend() WSMessageModeGet() / WSMessageModeSet()

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