12-21-2022, 03:53 PM
This caused someone to scream, "Oh noes so QB64 is buggy? Should have returned out-of-range runtime error!" The mentality of using QuickBASIC or QBasic set them like that because there was no such thing as "_UNSIGNED"; actually that "keyword" is a hint to the C++ compiler. A hint that could bite very hard if the programmer expected a negative value for some reason but was surprised by a positive value which was the result of wrap-around. Only to guard against that, this "BadLimit" is a good idea.