Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BadLimit
#5
(12-21-2022, 02:53 PM)Spriggsy Wrote: I'd almost agree with you about the unsigned integer bad limit with -1.
Code: (Select All)
Dim As _Unsigned Integer i: i = -1
Print i

Try it with any integer type:

Code: (Select All)
Dim As _Unsigned _Byte b: b = -1
Print b
Dim As _Unsigned Integer i: i = -1
Print i
Dim As _Unsigned Long l: l = -1
Print l
Dim As _Unsigned _Integer64 i64: i64 = -1
Print i64
Reply


Messages In This Thread
BadLimit - by SMcNeill - 12-16-2022, 03:50 AM
RE: BadLimit - by mnrvovrfc - 12-16-2022, 11:01 AM
RE: BadLimit - by SMcNeill - 12-16-2022, 12:03 PM
RE: BadLimit - by SpriggsySpriggs - 12-21-2022, 02:53 PM
RE: BadLimit - by SMcNeill - 12-21-2022, 03:20 PM
RE: BadLimit - by mnrvovrfc - 12-21-2022, 03:53 PM
RE: BadLimit - by SpriggsySpriggs - 12-21-2022, 04:06 PM
RE: BadLimit - by SpriggsySpriggs - 12-21-2022, 04:25 PM
RE: BadLimit - by SMcNeill - 12-29-2022, 10:40 AM
RE: BadLimit - by MrCreemy - 12-29-2022, 06:31 PM



Users browsing this thread: 1 Guest(s)