Well, after dicking around for 20 minutes trying to figure out why a long variable couldn't hold the max value of an unsigned int - and why it was returning -1, I realized that in my assigment statement I needed to specify the type of the value.
In other words
const MaxIntVal:long = 4294967295
gave MaxIntVal a value of -1, whereas
const MaxIntVal:long = 4294967295:long
gave the expected results. Shouldn't Blitz automatically convert the value (especially in a const statement as I was using) to the variable type, if no date would/could be truncated/lost?
In other words
const MaxIntVal:long = 4294967295
gave MaxIntVal a value of -1, whereas
const MaxIntVal:long = 4294967295:long
gave the expected results. Shouldn't Blitz automatically convert the value (especially in a const statement as I was using) to the variable type, if no date would/could be truncated/lost?