[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BASIC listing to TXT file



In article <27geee$ho6@zip.eecs.umich.edu>, grover@emunix.emich.edu (Grover Thomas) writes:
>
>     I haven't used BASIC in ages, and now I find a need to save a few
>Applesoft programs to disk as a normal text file.  I can't quite recall
>the exact method discussed here before, so if anyone can be kind enough
>to refresh my memory I'd be very grateful.  Thanks!
>-- 
>Grover Thomas       grover@emunix.emich.edu   (Nifty quotes currently down)

Try this:

0 ?CHR$(4);"OPEN OUT":?CHR$(4);"WRITE OUT":LIST1,:?CHR$(4);"CLOSE OUT":
  END

RUN

Of course, this assumes you have not used line 0 :)

Ron