home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2
- Path: sparky!uunet!mcsun!Germany.EU.net!quando!henigan
- From: henigan@quando.quantum.de (Kevin Henigan)
- Subject: Re: AppleSoft Basic Question
- Message-ID: <1992Nov13.140952.20254@quando.quantum.de>
- Organization: Quantum Software GmbH, Dortmund, Germany
- References: <1992Nov7.071014.13355@vela.acs.oakland.edu>
- Date: Fri, 13 Nov 1992 14:09:52 GMT
- Lines: 31
-
- In article <1992Nov7.071014.13355@vela.acs.oakland.edu> mkheintz@vela.acs.oakland.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.
-
- off the top of my head - I hope it's correct :-
-
- 0 D$=CHR(4)
- 1 ?D$"OPEN FILE"
- 2 ?D$"WRITE FILE"
- 3 LIST 10,10000
- 4 ?D$"CLOSE FILE"
- 5 END
-
- >I believe there is also a way to turn the text file back into an AppleSoft
- >Basic program. Any help would be appreciated.
-
- ] EXEC FILE
-
- > Many thanks,
- > ...Mike
- >Michael Heintz, Oakland University - Rochester, Michigan
- >InterNet: mkheintz@vela.acs.oakland.edu
- >BITNET: mkheintz@oakland.BITNET
-
-
- --
- Kevin Henigan. UUCP: {backbone}!unido!quando!henigan OR henigan@quando.uucp
- Quantum GmbH Bitnet: henigan%quando@UNIDO(.bitnet)
- Dortmund internet: henigan@quantum.de, or henigan@quando.quantum.de
- Germany advert : PEDIGREE - the only genealogy IIGS prog with a GUI
-