--- title: "Truth in Programming" type: "article" slug: "truth-in-programming" url: "http://localhost/article/truth-in-programming/" markdown_url: "http://localhost/article/truth-in-programming.md" published_at: "2020-10-27T17:18:32+00:00" modified_at: "2024-06-23T00:44:03+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "It's time for a little truth in programming, time for a bit of logic. Why let your programs slave away with boring numbers when they can deal with such fascinating concepts as truth and falsity? The logical capabilities of the Sinclair represent one of the best ways to shorten and speed up programs. Many programers…" 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: "2" issues_articles: - id: 26636 title: "SYNC v1 n2" type: "issue" url: "http://localhost/issue/sync-v1-n2/" pages: "18-19" pubdate: "March/April 1981" archive_link: false volumeissue: "v1n2" --- # Truth in Programming It’s time for a little truth in programming, time for a bit of logic. Why let your programs slave away with boring numbers when they can deal with such fascinating concepts as truth and falsity? The logical capabilities of the Sinclair represent one of the best ways to shorten and speed up programs. Many programers don’t make full use of these Boolean operators, mainly because, while they are not difficult to use, they are different from other parts of Basic. Boolean logic uses operators such as “AND” and “OR.” The major ways to use these operators will be discussed below.