Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable stuck on 24 bits
#2
Welcome to the forums.

You are expecting help but do not post source code. So we have to guess what you are trying to do.

Are you using `PRING USING` to output the variable's value? This is one of the biggest offenders.

If you are incrementing by one, make sure it is `1` as integer, and it's not floating point. Because QB64 sometimes needs the programmer's help by type-casting like must be done regularly in C/C++.

Otherwise 24 bits should easily fit into a `LONG` (32-bit) variable.
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: 1 Guest(s)