Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>comout() - output a string to the serial port</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     comout() - output a string to the serial port
  Usage:    <logical> = comout([<port>])
  Params:   integer <port> - the comm port to output to, optional,
            if left out then port #1 is assumed
  Returns:  logical .T. if string output successfully, .F. if not

 ---------------------------------- Example ---------------------------------

                 cominit(2400,"N",8,1)

                 * send a command string
                 comout("ATZ"+chr(13),1)

                 * dial a phone number
                 if (! comout("ATDT (201)123-4567"+chr(13)))
                      ? "Couldn't dial phone....
                 endif


See Also: cominit() comin() comcheck() iscom()

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