[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Applesoft code, how to print?
no1inParticular (compuser@prodigy.net) wrote:
: To print the Code from the Basic prompt:
: type:
: ]PR#X (X is the slot that your Printer
: interface is in)
: ]LIST
: ]PR#0
Caution: If the 80-column firmware was active when you entered the PR#x
command, AND you have an unenhanced ][e, at this point you will have the
flashing checkerboard cursor operating in every other column of the
80-column screen. Correcting the problem is simple; type PR#3 to go back
to "real" 80-column mode, then ESC-^Q to shut off the 80-column card
again. You can avoid this problem by shutting off the printer with PR#3
instead of PR#0.
: To SAVE a BASIC file as an ASCII file,
: 1) load your program
: 2) type the following:
: 0 D$= CHR$ (4) : PRINT D$ ; "OPEN FILE" : PRINT D$ ; "WRITE FILE" : LIST
: : PRINT D$ ; "CLOSE FILE"
: ]RUN
: This will save your program (including LINE # 0) into a TEXT file called
: FILE.
...Except that it will leave bunches of extra spaces. Make sure you are
looking at the 40-column screen before you run the program, and make sure
you do a POKE 33,33 to make BASIC suppress the extra spaces. TEXT will
negate the effect of the POKE 33,33 (which sets the screen width to 33
columns instead of 40)
: Saving code in a TEXT file, and using a word processor is great for
: editing/writing BASIC code.
That's an opinion...personally, I find it cumbersome. But then, I learned
programming on TRS-80 and Apple ][ machines, so I'm more accustomed to
*not* using a text editor...I thought it a giant hassle to edit QBASIC
programs with an editor on an MS-DOS machine.
On the other hand, GPLE on the Apple is a godsend!
--Dave Althoff, ][.
--
\ _ _ *** Closed for the season ***
XXX\ /X\ /X\_ _ /X\__ _ _____
XXXXX\ /XXX\ _/XXXX\_ /X\ /XXXXX\ /X\ X\ /XXXXX
_ XXXXXXX\__/XXXXX\/XXXXXXXX\_/XXX\_/XXXXXXX\__/XXX\_/XXX\_/\_/XXXXXX