Posted By
Litwr on 2015-10-22 15:05:22
| Re: Commodore Basic's oddnesses
It is not about the violation of some standards. It is about violation of the natural logic. It is very obvious to have integers in FOR. And, for example, "FOR i=1 to 2 step 1" naturally means 2 times so as "FOR i=2 to 1 step 1" means 0 times. BTW I can name 4th odd thing in Commodore Basic. It doesn't allow GOTO from loops! See an example 10 do while 1 20 goto 10 30 loop This code causes "out of memory error". So I had to use GOTO and IF for loops in NOTEPAD+4.
|