79089434

Date: 2024-10-15 10:09:01
Score: 0.5
Natty:
Report link

It's due to the order of preferences in value conversion.

In the Debug window, try to execute:

?False Or Abs(1)
1
?False Or CBool(Abs(1))
True
?4 Or 2
6

As we can see, VBA performs bitwise OR instead of boolean OR.

TBU. Trying to find docs.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: rotabor