[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AppleSoft Basic to text
The Apple II Mail Group writes ...
>
> Could someone please post the AppleSoft Basic to a text file program in it
> SIMPLEST form (no error traps, very quickie)? I just need to put a few lines
> of Basic code into an e-mail message, and I do not have this program at my
> fingertips. It goes, Print D$ "open" Print D$ "write" etc. but I need to know
> the exact words to type. Thanks for any help, and please make it as simple as
> possible.
If you do not have any program lines numbered lower than 2, you can add this
line to the front of your program ...
1 HOME:PRINT CHR$(4)"OPEN PGMTEXT": PRINT CHR$(4)"WRITE PGMTEXT":
LIST 2,: PRINT CHR$(4)"CLOSE": END
and type in RUN. The program will be listed into a Text file named "PGMTEXT".
The line can be placed at the end of a program, too; say, at Line 9999.
Then, you could RUN 9999 to create the Text file. Line 9999 would be included;
so, you would need to snip it off in your Text editor to have just your original
program.
Rubywand