More Truth in Programming

Authors

Publication

Publication Details

Date

Pages

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