--- title: "Reusable Loops" type: "article" slug: "reusable-loops" url: "http://localhost/article/reusable-loops/" markdown_url: "http://localhost/article/reusable-loops.md" published_at: "2020-10-27T17:12:29+00:00" modified_at: "2024-05-26T14:34:13+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "You can shorten and clarify some of your programs by using one loop and several flag variables to perform related operations. For a sample, let's take a utility that creates, modifies, moves, checks, and prints a ten-byte MC routine." category: - name: "Syntax" slug: "syntax" taxonomy: "category" url: "http://localhost/category/periodicals/syntax/" post_tag: - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" publication: "Syntax" publication_r: id: 10246 title: "Syntax" type: "periodical" url: "http://localhost/periodical/syntax/" volume: "5" issue: "1" issues_articles: - id: 26723 title: "Syntax/Syntax ZX80 v5 n1" type: "issue" url: "http://localhost/issue/syntax-syntax-zx80-v5-n1/" pages: "6-7" pubdate: "January 1984" archive_link: false volumeissue: "v5n1" --- # Reusable Loops You can shorten and clarify some of your programs by using one loop and several flag variables to perform related operations. For a sample, let’s take a utility that creates, modifies, moves, checks, and prints a ten-byte MC routine.