Colin Legg
MrExcel MVP
- Joined
- Feb 28, 2008
- Messages
- 3,507
- Office Version
- 365
- Platform
- Windows
Following on from Oorang's thread 'Predict The Output', I thought this might provide some entertainment for those who haven't tried it before.
The same rules, predict the outputs of the procedure and then run it to see how many you get right!
The same rules, predict the outputs of the procedure and then run it to see how many you get right!
Code:
Sub Predict_The_Output_II()
Debug.Print 2 Or 4
Debug.Print 2 And 4
Debug.Print Not 2
End Sub