skx / gobasic

A BASIC interpreter written in golang.

Home Page:https://blog.steve.fi/tags/basic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FOR command doesn't allow expressions

skx opened this issue · comments

This works:

FOR I = 1 TO 10 STEP 4/2
   PRINT I
NEXT I

This does not:

FOR I = 1 TO 3 * 4
   PRINT I
NEXT I