Simple fix for posting here | |||||||||||||||||
Below is a QBASIC program that you can use to process anotherprogram's source-code text-file so that that file can be posted here. All it does is add extra carriage-returns to the file. The result is that when the file is displayed from this site onto a browser window, the lines are not runtogether. Obviously it would be better if this site allowed the html tag for forcing line-breaks in a browser display (and doesn't lead to lots of blank lines), but until that happens, this is a work-around. 10 DIM A$20 OPEN "C:\FILE.TXT" FOR INPUT AS #1 OPEN "C:\FILE.MOD" FOR OUTPUT AS #2 30 WHILE NOT EOF(1) LINE INPUT #1, A$ PRINT #2, A$ PRINT #2, WEND 40 CLOSE #1 CLOSE #2 50 END
Vernon, Sep 21 2004
What do you think of this idea or comment? | |||||||||||||||||
Users who liked this idea also liked: | |||||
| |||||
Add your comment
The HTML code to insert a line break is \<br\>.
These
are
on
separate
lines