06-06-2022, 11:14 PM
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
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