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>iscom() - check if comm port is attached to the system</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     iscom() - check if comm port is attached to the system
  Usage:    <logical> = iscom([<port>])
  Params:   integer <port> - the port number to check. Optional,
            if left of then port #1 is assumed
  Returns:  a logical value. .T. if the specified comm port is
            attached to the computer, .F. if not.

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

                 if (! iscom(1))
                      ? "You need a serial port for that option..."
                 else
                      cominit(2400,"N",8,1,1)
                 endif


See Also: comout() comin() cominit() comcheck() comon() comoff()

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