More Truth in Programming

Authors

David Lubar

Publication

Publication Details

Volume: 1 Issue: 3

Date

May/June 1981

Pages

7
See all articles from SYNC v1 n3

As long as an expression produces only logical values (0 or -1), you can safely use NOT. Expressions such as IF NOT (A = B) THEN GO TO 10 or IF NOT (X 5 AND Y 8) THEN GO TO 10 are fine. They only deal with logical operators. The value inside the parentheses will be either zero or minus one. But if other integers enter the expression, it’s not safe to use NOT.

Products

 

Downloadable Media

 
Scroll to Top