[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Applesoft code, how to print?
To print the Code from the Basic prompt:
type:
]PR#X (X is the slot that your Printer
interface is in)
]LIST
]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.
Saving code in a TEXT file, and using a word processor is great for
editing/writing BASIC code.
David Sebastio wrote in message
<1d4k7kx.icke0zfk020mN@line10gio.joynet.it>...
>Hi everybody,
>I have a game, written in Applesoft Basic. Now, I can see the code on my
>screen using Catalog, but now I want to print it. I know that there is a
>command that force the output to the printer (slot 1, Imagewriter) but I
>don't remember it. Can you help me?
>
>Another thing, how can I save this code in ASCII format, or how can I
>see the code opening it in a text editor?
>
>TVM, David Sebastio
>
>--
> David Sebastio - sebastio@joynet.it
>PGP Key Available - IEEE Student Branch Bari
> http://www.poliba.it/IEEESB/