--- title: "Renumber" type: "article" slug: "renumber" url: "http://localhost/article/renumber/" markdown_url: "http://localhost/article/renumber.md" published_at: "2020-10-27T17:12:29+00:00" modified_at: "2024-05-26T14:34:11+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Utility programs for renumbering the lines of BASIC programs facilitate merging with other programs, spreading out line numbers to make room for additional lines, and neatening up finished programs. Changing line numbers is easy, but a useful renumbering utility must also fix the destination line numbers in GOTOs and GOSUBs, a more difficult task. This…" 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/" indiv: - name: "C. C. Stalder" slug: "c-c-stalder" taxonomy: "indiv" url: "http://localhost/indiv/c-c-stalder/" publication: "Syntax" publication_r: id: 10246 title: "Syntax" type: "periodical" url: "http://localhost/periodical/syntax/" authors: "C. C. Stalder" 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: "14-17" pubdate: "January 1984" archive_link: false volumeissue: "v5n1" --- # Renumber Utility programs for renumbering the lines of BASIC programs facilitate merging with other programs, spreading out line numbers to make room for additional lines, and neatening up finished programs. Changing line numbers is easy, but a useful renumbering utility must also fix the destination line numbers in GOTOs and GOSUBs, a more difficult task. This program does the job, although slowly since it is written almost entirely in BASIC.