I only recently learned that the early MS BASICs had integer variables and do not have a machine that runs it. So perhaps someone with a PET or C64 could answer these questions?
For one, were there integer constants as well as variables? I'm not familiar with how MS stored constants like 10, were they always 40-bit FP or would it use an integer format if available? I seem to recall something about ints in DATA statements?
The second is about math over/underflow. As I understand it, when you applied math operators to int variables it used the FP code to do the calculations. So what happened if you did...
I%=32767+2
I%=65536+2
Did it give an error, or trim it, or something else?
