home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / apple2 / 23562 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.3 KB  |  33 lines

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