[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fishwings or similar
On Sun, 30 Oct 2005 10:19:17 GMT, Don Bruder <dakidd@sonic.net> wrote:
>Assuming it's a straight-text file named "PROGRAM.TXT", you type "EXEC
>PROGRAM.TXT" from the basic prompt, sit back until it's finished, then
>type "SAVE <pick a name>"
And if you want to save yourself a step you can always put the SAVE
statement at the end of you text file program listing like so:
10 HOME
...
more program code here
...
10000 END
SAVE PROGRAM.BAS
That way, when you EXEC the file it will save it for you. You could
even put a RUN statement after the SAVE so that it will immediately
execute your code after it has saved it so that you can test it.
I remember using a text editor for editting Applesoft code years ago
but I found that when EXEC'd it into memory and ran it, I'd keep
fixing the bugs while in Applesoft and would then have to transfer the
changes I made there back to the text file listing. I didn't do that
for long. :-)
By the way, if you are EXEC'ing these files under ProDOS you can make
the typing even easier by using the smart execute command "-" which
will properly start an Applesoft (RUN), binary (BRUN) or text (EXEC)
file. Using the example above it would be "- PROGRAM.TXT". The space
between the - and the filename is optional IIRC.
--
Jeff Blakeney - Dean of the Apple II University in the
Apple II Community on Syndicomm.com
CUT the obvious from my address if you want to e-mail me