--- title: "Programming by Procedure" type: "article" slug: "programming-by-procedure" url: "http://localhost/article/programming-by-procedure/" markdown_url: "http://localhost/article/programming-by-procedure.md" published_at: "2026-03-09T19:59:35+00:00" modified_at: "2026-03-09T19:59:36+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "In ARCHIVE the only obvious decision making command is: IF … ELSE … ENDIF. It works as you would expect it to work in SuperBASIC, but ENDIF is always required. It must also do the work of SELect. There is no THEN. Instead use a colon." category: - name: "Quantum Levels" slug: "quantum-levels" taxonomy: "category" url: "http://localhost/category/periodicals/quantum-levels/" post_tag: - name: "QL" slug: "ql" taxonomy: "post_tag" url: "http://localhost/tag/ql/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Sinclair QL" slug: "sinclair-ql" taxonomy: "model" url: "http://localhost/model/sinclair-ql/" indiv: - name: "Peter Hale" slug: "peter-hale" taxonomy: "indiv" url: "http://localhost/indiv/peter-hale/" publication_r: id: 52231 title: "Quantum Levels" type: "periodical" url: "http://localhost/periodical/quantum-levels/" authors_r: - name: "Peter Hale" slug: "peter-hale" taxonomy: "indiv" url: "http://localhost/indiv/peter-hale/" volume: "2" issue: "5" issues_articles: - id: 52232 title: "Quantum Levels v2 n5" type: "issue" url: "http://localhost/issue/quantum-levels-v2-n5/" pages: "18-19" pubdate: "June 1989" archive_link: false --- # Programming by Procedure In ARCHIVE the only obvious decision making command is: IF … ELSE … ENDIF. It works as you would expect it to work in SuperBASIC, but ENDIF is always required. It must also do the work of SELect. There is no THEN. Instead use a colon.