Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upcoming changes to CONST may affect your code
#6
So, I don't really understand it anymore.  Huh

Code: (Select All)

'Const-Problem. https://qb64phoenix.com/forum/showthread...0#pid22330
'29. Dez. 2023

Const foo = 1
Print foo

Const foo1 = &HFFFF
Print foo1

Const foo2 = &HFFFF + &HFFFFFFFF
Print foo2

'Addition von Pluswerten, sonst Minuswert
Const foo3 = &HFF000000~& + &HFFFF~&
Print foo3

'4278255615 + (-65535) = 4.278.190.080
Const foo4 = &HFF000000~& + &HFFFF
Print foo4

Print
'Minuswert
Const foo5 = &HFF000000 + &HFFFF
Print foo5
Print
Print &HFF00FFFF
Print &HFEFFFFFF

[Image: Const-Problem2023-12-29.jpg]
Reply


Messages In This Thread
RE: Upcoming changes to CONST may affect your code - by Kernelpanic - 12-29-2023, 05:33 PM



Users browsing this thread: 4 Guest(s)