--- title: "More Truth in Programming" type: "article" slug: "more-truth-in-programming" url: "http://localhost/article/more-truth-in-programming/" markdown_url: "http://localhost/article/more-truth-in-programming.md" published_at: "2020-10-27T17:18:35+00:00" modified_at: "2024-06-23T00:43:54+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "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…" category: - name: "SYNC" slug: "sync" taxonomy: "category" url: "http://localhost/category/periodicals/sync/" post_tag: - name: "1981" slug: "year-1981" taxonomy: "post_tag" url: "http://localhost/tag/year-1981/" - name: "Tutorial" slug: "tutorial" taxonomy: "post_tag" url: "http://localhost/tag/tutorial/" - name: "ZX80" slug: "zx80" taxonomy: "post_tag" url: "http://localhost/tag/zx80/" model: - name: "Sinclair ZX80" slug: "zx80" taxonomy: "model" url: "http://localhost/model/zx80/" indiv: - name: "David Lubar" slug: "david-lubar" taxonomy: "indiv" url: "http://localhost/indiv/david-lubar/" publication: "Sync" publication_r: id: 10243 title: "SYNC" type: "periodical" url: "http://localhost/periodical/sync-magazine/" authors: "David Lubar" volume: "1" issue: "3" issues_articles: - id: 26637 title: "SYNC v1 n3" type: "issue" url: "http://localhost/issue/sync-v1-n3/" pages: "7" pubdate: "May/June 1981" archive_link: false volumeissue: "v1n3" --- # More Truth in Programming 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.