Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oh the hex with it...
#1
Hey guys, would one increment less than

&H40000000 be...

&H3FFFFFFF 

Thanks, 

Pete
Fake News + Phony Politicians = Real Problems

Reply
#2
(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.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply
#3
Cool
Fake News + Phony Politicians = Real Problems

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

Code: (Select All)

X# = &H800000000
X# = X# - 1
Print Hex$(X#)
Reply
#5
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
Fake News + Phony Politicians = Real Problems

Reply
#6
(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
Reply
#7
32 years, seems like almost half a lifetime ago...

Pete Big Grin
Fake News + Phony Politicians = Real Problems

Reply




Users browsing this thread: 3 Guest(s)