Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding more Logical Operators
#7
interesting, FreeBASIC has added these operators in the form of:

https://www.freebasic.net/wiki/KeyPgOpAndAlso
https://www.freebasic.net/wiki/KeyPgOpOrElse

in my opinion, more operators should not be added to QB64 except bit shifting which I guess is already included in QB64 with the ugly and hacky _SHL and _SHR functions, why are operators suddenly functions?

I guess if these were really wanted, the stage is set:  function _AndAlso(x, y) along with _OrElse(x, y) -- that would retain the underscore QB45 compatibility requirement and the ugliness would not be all that out of place considering _SHL/_SHR
Reply


Messages In This Thread
Adding more Logical Operators - by Dimster - 05-21-2022, 08:05 PM
RE: Adding more Logical Operators - by Dimster - 06-02-2022, 12:47 PM
RE: Adding more Logical Operators - by Dimster - 06-05-2022, 01:03 AM
RE: Adding more Logical Operators - by vince - 06-06-2022, 11:14 PM
RE: Adding more Logical Operators - by Dimster - 06-07-2022, 09:58 PM
RE: Adding more Logical Operators - by madscijr - 06-13-2022, 07:19 PM
RE: Adding more Logical Operators - by madscijr - 06-13-2022, 07:01 PM
RE: Adding more Logical Operators - by madscijr - 06-14-2022, 03:52 AM
RE: Adding more Logical Operators - by madscijr - 06-14-2022, 06:59 PM
RE: Adding more Logical Operators - by madscijr - 06-14-2022, 07:58 PM



Users browsing this thread: 4 Guest(s)