nanochess / IntyBASIC

IntyBASIC compiler for Intellivision (CP1610 processor)
BSD 2-Clause "Simplified" License
35 stars 5 forks source link

Bug in DATA statement whe VARPTR is used #24

Closed artrag closed 3 years ago

artrag commented 3 years ago

Apparently this piece of code works DATA VARPTR attribute_r1(0),VARPTR attribute_r2(0),VARPTR attribute_r3(0) but not this other where VARPTR is used in minuscule letters DATA varptr attribute_r1(0),varptr attribute_r2(0),varptr attribute_r3(0)

Is it a bug ?

nanochess commented 3 years ago

Just got a look and it works correctly. Internally the comparison with "VARPTR" automatically nullifies case.