QB64 Phoenix Edition
Oh the hex with it... - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: Oh the hex with it... (/showthread.php?tid=2958)



Oh the hex with it... - Pete - 08-17-2024

Hey guys, would one increment less than

&H40000000 be...

&H3FFFFFFF 

Thanks, 

Pete


RE: Oh the hex with it... - TerryRitchie - 08-17-2024

(08-17-2024, 12:17 AM)Pete Wrote: Hey guys, would one increment less than

&H40000000 be...

&H3FFFFFFF 

Thanks, 

Pete
According to Windows 7's programmer calculator, yes.


RE: Oh the hex with it... - Pete - 08-17-2024

Cool


RE: Oh the hex with it... - eoredson - 09-07-2024

(08-17-2024, 03:42 AM)Pete Wrote: Cool
Its too complex.

Code: (Select All)

X# = &H800000000
X# = X# - 1
Print Hex$(X#)



RE: Oh the hex with it... - Pete - 09-07-2024

Everything is perfect Erik, except it's is missing an apostrophe. Big Grin 

I don't know if I will ever use hex again, the last time was 1992, but since I totally forgot there is a QB keyword for it, thanks!

+1

Pete


RE: Oh the hex with it... - eoredson - 09-07-2024

(09-07-2024, 01:47 AM)Pete Wrote: Everything is perfect Erik, except it's is missing an apostrophe. Big Grin 

I don't know if I will ever use hex again, the last time was 1992, but since I totally forgot there is a QB keyword for it, thanks!

+1

Pete

Hey! That was only 32 years ago! Deal with it! Huh


RE: Oh the hex with it... - Pete - 09-07-2024

32 years, seems like almost half a lifetime ago...

Pete Big Grin