home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!jbush
- From: jbush@magnus.acs.ohio-state.edu (J Eric Bush)
- Subject: Re: AppleSoft Basic Question
- Message-ID: <1992Nov7.142913.12126@magnus.acs.ohio-state.edu>
- Sender: news@magnus.acs.ohio-state.edu
- Nntp-Posting-Host: top.magnus.acs.ohio-state.edu
- Organization: The Ohio State University
- References: <1992Nov7.071014.13355@vela.acs.oakland.edu>
- Date: Sat, 7 Nov 1992 14:29:13 GMT
- Lines: 20
-
- In article <1992Nov7.071014.13355@vela.acs.oakland.edu> mkheintz@vela.acs.oakla
- nd.edu (Michael Heintz) writes:
- >I remember reading a trick to convert an AppleSoft basic program to a text
- >file so it could be printed out with a word processor. Can anyone help me
- >out with the method required to do this trick? Somehow I lost the article.
- >
- >I believe there is also a way to turn the text file back into an AppleSoft
- >Basic program. Any help would be appreciated.
- >
- The way to list the BASIC file to a text file under ProDOS / BASIC.SYSTEM is:
-
- 0 POKE 33,33:?CHR$(4)"OPEN LISTFILE":?CHR$(4)"WRITE LISTFILE":LIST 1-65535
-
- I believe that you can get the text file back to BASIC just by typing:
-
- EXEC filename
- --
- ------------------------------------------------------------------------------
- J. Eric Bush
- Internet: jbush@magnus.acs.ohio-state.edu
-