[comp.sys.apple2] BASIC to text

chin@ankh.ftl.fl.us (Albert Chin) (05/27/90)

In order to print a BASIC file to a text file, insert the following in
the beginning of the program, usually as line 0.

0 PRINT CHR$(4)"OPEN TEXTFILE": PRINT CHR$(4)"WRITE TEXTFILE":
  LIST 1,: PRINT: PRINT CHR$(4)"CLOSE TEXTFILE": END

That's all there is to it. Enjoy.

Albert Chin ... mthvax!mamia!albert