[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AppleSoft Basic Question
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