Today we run in a strange overflow issue.
32-bit gives same result for each line:
dim j as int64 = val("&hCCCCCCCC")
dim n as int32 = val("&hCCCCCCCC")
dim x as int32 = j
MsgBox "j: "+str(j)+EndOfLine+"n: "+str(n)+EndOfLine+"x: "+str(x)
But 64-bit will give wrong result for n.
It’s not the 64bit integer casted to integer, but gives max negative int.
Please explain & document or fix.
Anyone has a hint?