--- title: "Translating Programs: ON…GO TO" type: "article" slug: "translating-programs-on-go-to-2" url: "http://localhost/article/translating-programs-on-go-to-2/" markdown_url: "http://localhost/article/translating-programs-on-go-to-2.md" published_at: "2026-03-13T00:41:23+00:00" modified_at: "2026-03-13T00:41:23+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Tutorial explaining how to translate ON...GOTO and ON...GOSUB constructs (not supported by ZX81 BASIC) into equivalent ZX81 BASIC, presenting three methods: using a list, computed line numbers, and DIM array indexing." category: - name: "Syntax" slug: "syntax" taxonomy: "category" url: "http://localhost/category/periodicals/syntax/" post_tag: - name: "BASIC (programming language)" slug: "basic-programming-language" taxonomy: "post_tag" url: "http://localhost/tag/basic-programming-language/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" model: - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Mort Butler" slug: "mort-butler" taxonomy: "indiv" url: "http://localhost/indiv/mort-butler/" publication_r: id: 10246 title: "Syntax" type: "periodical" url: "http://localhost/periodical/syntax/" authors_r: - name: "Mort Butler" slug: "mort-butler" taxonomy: "indiv" url: "http://localhost/indiv/mort-butler/" volume: "3" issue: "3" issues_articles: - id: 52476 title: "Syntax/Syntax ZX80 v3 n3" type: "issue" url: "http://localhost/issue/syntax-syntax-zx80-v3-n3/" pages: "3" pubdate: "March 1982" archive_link: false --- # Translating Programs: ON…GO TO Tutorial explaining how to translate ON…GOTO and ON…GOSUB constructs (not supported by ZX81 BASIC) into equivalent ZX81 BASIC, presenting three methods: using a list, computed line numbers, and DIM array indexing.