remy / txt2bas

ZX Spectrum BASIC conversion tooling (specific support for NextBASIC)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ABS/MOD number storage

remy opened this issue · comments

I'm guessing integer expression methods are storing numbers as floats instead of ints. Example:

10 LET %x=1
20 IF ABS x*2 = 2 THEN PRINT "ok"

Pretty sure the 2 are stored, incorrectly, as floats.

Seems to be a non-issue. Well done past me.