Apple IIe programming issue

8 posts / 0 new
Last post
Offline
Last seen: 1 year 12 months ago
Joined: Sep 11 2017 - 17:41
Posts: 6
Apple IIe programming issue

So I recently acquired an apple IIe and it works great. I've been wanting to learn how to program simple programs and stuff, and was typing in some code from the II+ programming manual. When it came time to input line 60 (60 TOP=10) I did so and continued on. But when I went to run the program, it gave me SYNTAX ERROR ON LINE 60. Needless to say, I was a bit confused because I thought I'd done it right, but I didn't pay much notice and corrected it. So after correcting it, I tried to run it and got the same thing. So of course, I typed in LIST 60 And rather than saying 60 TOP = 10 it had changed to 60 T OP = 10. I was confused, but I corrected it and tried to run it again. And got the same error with the same issue. I tried retyping the entire program 3 times, even condensing the other 2 related lines into one, and it still changed it. Its almost like its autocorrecting it. I didn't even know apple IIs did that. Any ideas?

AttachmentSize
Image icon 20170911_162659.jpg107.34 KB
Image icon 20170911_162729.jpg104.76 KB
Image icon 20170911_163432.jpg178.87 KB
ggb
Offline
Last seen: 1 week 5 days ago
Joined: Mar 13 2012 - 05:12
Posts: 35
Re: Apple IIe programming issue

Variables only use 2 character, so the first two characters conflicts with the reserved word "TO" used with the "FOR" statement syntax

Offline
Last seen: 1 year 12 months ago
Joined: Sep 11 2017 - 17:41
Posts: 6
Re: Apple IIe programming issue

Oh. Then why would they put it in the manual, and why doesn't it do it to the second top

Offline
Last seen: 2 months 1 week ago
Joined: May 27 2009 - 01:37
Posts: 962
Re: Apple IIe programming issue

60 TOP = 10
..is allowable in Integer Basic, but not Applesoft.

Exactly what manual gave that example?

Dog Cow's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: Dec 11 2008 - 16:26
Posts: 555
Re: Apple IIe programming issue

Keatah wrote:
60 TOP = 10
..is allowable in Integer Basic, but not Applesoft.

Exactly what manual gave that example?

Note the use of CALL -936 instead of HOME. This definitely came from an Integer BASIC manual.

Offline
Last seen: 1 year 12 months ago
Joined: Sep 11 2017 - 17:41
Posts: 6
Re: Apple IIe programming issue

It was the II+ programming manual.did they make any official ones for Applesoft?

Offline
Last seen: 2 months 1 week ago
Joined: May 27 2009 - 01:37
Posts: 962
Re: Apple IIe programming issue

There are many II+ programming manuals. Is there part number or ISBN number? Or an existing scan? Something that would provide a positive ID.

speedyG's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: Nov 16 2011 - 07:45
Posts: 2495
Re: Apple IIe programming issue
Log in or register to post comments