I am translating an old qbasic program and it uses the OPEN "SCRN:" FOR OUTPUT AS #1 statement to write to the screen, OPEN "LPT1:" FOR OUTPUT AS #1 for the printer, and OPEN FILE1$ FOR OUTPUT AS #1 for a file. This is actually nice as it abstracts the output from the output medium. However, it does not seem to work for the screen (I have not tested the printer or file output). My guess is that this code will only work for file output and not screen or printer. Can anyone confirm that the first two open statements are not supported in PBCC 4? Also, any ideas on how to abstract the output from the medium would be much appreciated.
Scott
Scott
Comment