Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable stuck on 24 bits
#1
Hello all. I have a problem that has been plaguing me in my QB64 adventure. If I have a variable, and I increment it, by just the number 1 in a loop, when it gets to 1.677722E+07 (24 bits) it just stops and increments no more. Doesn't matter if I use LONG or _INTEGER64 data types, or don't declare a type at all. 

Sounds like it has to be a bug, and a weird one. Why 24 bits? Anyone else see this?
Reply


Messages In This Thread
Variable stuck on 24 bits - by DimColby - 09-25-2023, 11:03 PM
RE: Variable stuck on 24 bits - by mnrvovrfc - 09-26-2023, 12:04 AM
RE: Variable stuck on 24 bits - by bplus - 09-26-2023, 12:11 AM
RE: Variable stuck on 24 bits - by DimColby - 09-26-2023, 01:28 AM
RE: Variable stuck on 24 bits - by SMcNeill - 09-26-2023, 12:25 AM
RE: Variable stuck on 24 bits - by DimColby - 09-26-2023, 12:58 AM
RE: Variable stuck on 24 bits - by SMcNeill - 09-26-2023, 02:16 AM
RE: Variable stuck on 24 bits - by DimColby - 09-26-2023, 06:31 AM
RE: Variable stuck on 24 bits - by SMcNeill - 09-26-2023, 12:31 AM
RE: Variable stuck on 24 bits - by SMcNeill - 09-26-2023, 02:20 AM
RE: Variable stuck on 24 bits - by bplus - 09-26-2023, 09:11 AM



Users browsing this thread: 5 Guest(s)