Those Devices can be called like files by the OS, that's why the names can't be used. Try this:
For example, you could open and close the LPT1 or COM1 (serial port) and read and write from/to a stream.
a=readfile("COM1")
print a
closefile a
waitkey()
This will open the serial port for standard communication.
Of course we all want those old DOS programs still function on vista, right? (I guess a lot of companies are still using DOS software)
For example, you could open and close the LPT1 or COM1 (serial port) and read and write from/to a stream.
a=readfile("COM1")
print a
closefile a
waitkey()
This will open the serial port for standard communication.
Of course we all want those old DOS programs still function on vista, right? (I guess a lot of companies are still using DOS software)