[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple BASIC question



In a previous article, nathan@cco.caltech.edu (Nathan Mates) says:
>In article <yahnke-060593172431@oleary.macc.wisc.edu> yahnke@macc.wisc.edu (Ross Yahnke) writes:
>>What command can you enter in Apple Basic that will cause the basic
>>program listing to be saved to disk as a text file?
>
>1 D$=CHR$(4):PRINT D$"OPEN LISTING": PRINT D$"WRITE LISTING":POKE 33,33:
>  LIST 2,65000: ? D$"CLOSE": TEXT: END

I _think_ the highest line number in AppleSoft is 63999 (though it's been
a while, particularly since I wrote a program that long in BASIC ;). I'm
not sure if that line would cause a range error or not.


-- 
Marc Sira                  |
aa382@freenet.carleton.ca  |  "Your god drinks...p-p-peach nectar."
toh@micor.ocunix.on.ca     '