[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BASIC listing to TXT file
- Subject: Re: BASIC listing to TXT file
- From: gpicknel@codewks.nacjack.gen.nz (Gavin Picknell)
- Date: Sun, 19 Sep 93 17:34:45 +1200
- Newsgroups: comp.sys.apple2
- Organization: The Code Works Limited, PO Box 10 155, Auckland, New Zealand
- References: <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!
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