exclamation point?

 

what does the exclamation point in this line of code mean/do?


 if ( !OrderSelect( z, SELECT_BY_POS ) )

 

! means "Not"

In this case:

if(NOT TRUE) do something

I'm sure you have seen:

if (a != b) -- if a is not equal to b

Reason: