[Coco] Bug in FOR NEXT ?

Diego Barizo diegoba at adinet.com.uy
Wed May 31 23:47:26 EDT 2006


I have a line like this:
1060 FOR A=1 TO 72:PRINT A:IF A$=B$ THEN GOSUB 2000: GOTO 1050  ELSE NEXT A
1070 PRINT A

The routine in line 2000 does not use  the variable A, and as expected, 
the first PRINT A gives me 1 to 72
BUT... The line 1070 gives me a value of 73.
I'm clueless about this. Any ideas?

Diego




More information about the Coco mailing list