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

Re: BASIC listing to TXT file



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!

Assuming there is no line number 1, try this...

1 PRINT CHR$(4);"OPEN MYFILE.TXT":PRINT CHR$(4);"WRITE 
MYFILE.TXT":LIST:PRINT CHR$(4);"CLOSE":END

And then run - Subsitutue MYFILE.TXT for whatever you want to call it.

--
gpicknel@codewks.nacjack.gen.nz (Gavin Picknell)
The BBS Works -- +64 9 630 7739 NZL	New Zealand's Oldest BBS