Problem in evaluating the constants
Squall-FF8 opened this issue · 1 comments
Squall-FF8 commented
const
spr1_Address1 = 1 << 15;
This code generate error:
Dialog[25,5] Error: Numeric value exceeds a byte range.
t-edson commented
"byte << byte" is expected to generate a byte in the compiler. so it generates a range error.
Use this:
const
spr1_Address1 = word(1) << 15;