Device Monitoring Studio - Monitor, log and analyze data coming through PC ports and connections

! Logical NOT Operator

Logical NOT operator inverts (logically) an expression. Evaluates to 0 if the expression is non-zero or to non-zero if the expression is zero.



The following code fragment illustrates the use of the logical NOT operator:

!7       // evaluates to 0
!0       // evaluates to 1