And indeed it would, bar one complication: there is a third situation in which you need to specify 32-bits or 64-bits operation: the >>> and << shift operators. Take for example this code:
Code: Select all
A% = -1
PRINT A% >>> 1
A similar situation arises with the left-shift operator.
Code: Select all
A% = -2^31
PRINT A% << 1
In principle these shift cases could also have been tackled by introducing new operators (maybe >>>> for a 64-bit unsigned right-shift and <<<< for a 64-bit left-shift) but this struck me as a somewhat contrived and non-intuitive solution.
So, rightly or wrongly, I decided to lump all three cases together (conversion from hex, conversion to hex, and the shift operators) under the control of a single 32/64-bits setting rather than introducing new operators. If you disagree, sorry.