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

Re: Applesoft IF...THEN Bug?



In article <at80662@pro-ren.cts.com> edward@pro-ren.cts.com (Edward Floden) writes:
>[...]
>        IF B THEN GOTO 100
>        IF B THEN 100
>        IF B GOTO 100
>
>The manual says that all of these statements have a valid syntax. But when
>I try "IF B GOTO 100" (and yes, there really is a line 100 somewhere), I
>get an undefined statement error! Replacing the GOTO with THEN or THEN GOTO
>will allow a successful run.
>
>So what's the deal here? I can't find any tech note which contradicts the
>Reference Manual, but I can definitely confirm that IF...(THEN) GOTO
>doesn't work. [...]

All three forms work ne for me!  Please post some code that demonstrates
a problem.  Also, are you using BASIC.System (what version?), or DOS 3.3?

Are you using any utilities that patch BASIC in any way?
-- 
David A. Lyons, Apple Computer, Inc.      |   DAL Systems
Apple II System Software Engineer         |   P.O. Box 875
Internet:dlyons@apple.com                 |   Cupertino, CA 95015-0875

My opinions are my own, not Apple's.