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

Re: Apple II text files (again)



In <93102.093250F0O@psuvm.psu.edu> <F0O@psuvm.psu.edu> writes:

>   Thanks everyone for your help, but unfortunately my routine still isn't
>working.  I'm using an apple IIe with Dos 3.3.  Below is a listing of
>the relevant parts of my program:
>
>10 ONERR GOTO 282
>20 D$ = CHR$(4)
    ^^^^^^^^^^^^

There's your problem.  Under Dos 3.3 this should read: D$=CHR$(13) + CHR$(4)
The reason is fairly obscure but let it suffice to say that if a previous
print, htab, etc. statement has left the cursor anywhere but in the first
column, DOS will not recognize the CHR$(4) as a DOS command.  The CHR$(13)
forces a carriage return and eliminates the problem.  This is not necessary
under ProDOS.

-----
tom geer: tgeer@pro-gumbo.cts.com

"I don't believe in astrology - We Scorpios aren't taken in by such things."