09-26-2023, 12:04 AM
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.
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.