Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 Phoenix Edition v3.11.0 Released!
#9
(01-07-2024, 01:22 PM)mdijkens Wrote: I've been playing a bit more with hex values

Code: (Select All)
Print &hFFFF
Print &hFFFFFFFF
Both print -1 now

But 
Code: (Select All)
Print Val("&hFFFF")
Print Val(&hFFFFFFFF")
Still print 65536 and 4294967295

While QBX (7.1, I don't have QB 4.5 anymore) prints -1 and -1
QB 4.5 prints both as -1.
There are two ways to write error-free programs; only the third one works.
QB64 Tutorial
Reply


Messages In This Thread
QB64 Phoenix Edition v3.11.0 Released! - by a740g - 01-03-2024, 05:45 PM
RE: QB64 Phoenix Edition v3.11.0 Released! - by TerryRitchie - 01-07-2024, 04:17 PM



Users browsing this thread: 2 Guest(s)