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>comset() - set comm ports to different port values</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     comset() - set comm ports to different port values
  Usage:    comset(<port1>,<port2>)
  Params:   integer <port1> - the comm port to change (1-4)
            integer <port2> - the new comm port to set <port1> to,
            in the range of (1-4)

  Returns:  nothing

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

            * On a machine with 3 comm ports, this example sets com1
            * to be com3:

                 comset(1,3)

            * to reset the com ports back to normal:

                 comreset()

  Note:     The comm ports are not swapped, instead the port address
            of the first parameter specified is changed to be equal
            to the port address of the second parameter specified. No
            checking for the existence of a port is done.


See Also: iscom() comreset() comswap() isprinter() prnreset()

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