skx / gobasic

A BASIC interpreter written in golang.
https://blog.steve.fi/tags/basic/
GNU General Public License v2.0
323 stars 27 forks source link

Allow fractional values in FOR loops. #63

Closed skx closed 5 years ago

skx commented 5 years ago

So I went through some of the sample-programs in this guide:

Turns out that I don't allow this program to work:

  10 FOR I=1 TO 5 STEP 0.5
  20 PRINT I
  30 NEXT I

Needs to be fixed :)