Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 Phoenix Edition v3.11.0 Released!
#15
(01-07-2024, 05:44 PM)bplus Wrote: does _rgb32 ever return a negative?

does Point(x, y) ever return a negative?

I never use &H except for colors therefore I am NOW OFFICIALLY CLAMMERING for _Unsigned Long to be consistent with colors.

I have said before and will say again if you want neg values use -&H, -&B, -&O just exactly like we do with decimal bases. Be consistent!

You just talked me out of updating to 3.11 because you say you are Not using _Unsigned as default for the other bases.

Switching back and forth from _unsigned to NOT really sucks!

When in doubt be consistent, handle other number bases just like we do decimal.

Well this all adds to the argument to get away from using Const all together but then others are arguing for getting way from SHARED variables all together. (That one I really disagree!)
But there are those who say we are too comfortable in our lifestyles already, that it is good to live outside the comfort zone. ; - ) )

I can live with typing Const with a suffix, I only have to do it once.

Using -&H etc. isn't bulletproof either, a%=-&HFFFF, so what is it? To be absolutely correct following your logic it must be 1, as &HFFFF seen as a INTEGER (16bit) is already -1 (cause the MSB is set) and the minus sign would negate that value. So -&HFFFF = 1 ??? That's odd, even it's true.
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 RhoSigma - 01-07-2024, 06:14 PM



Users browsing this thread: 8 Guest(s)