uli / basicengine-firmware

BASIC Engine Firmware
78 stars 16 forks source link

Missinterpreting variable names beginning with keywords #46

Closed Bluescreen2001 closed 4 years ago

Bluescreen2001 commented 4 years ago

When using variable names that beginns with BASIC keywords they got interpreted as keywords. This ist during runtime of the BASIC program and also during loading it.

Example: dimension = 42 gives an error because it interprets DIM ension = 42 dmension = 42 is ok

This happens also in the middle of the line:

x = sprite_x + z gives x = SPRITE x + z

uli commented 4 years ago

That is not a bug, but I fixed it anyway. :) See https://betest.freeflarum.com/d/35-syntax-changes for details.