--- title: "The Jungle Jim: GOTO Statement and Program Line Storage" type: "article" slug: "the-jungle-jim-goto-statement-and-program-line-storage" url: "http://localhost/article/the-jungle-jim-goto-statement-and-program-line-storage/" markdown_url: "http://localhost/article/the-jungle-jim-goto-statement-and-program-line-storage.md" published_at: "2026-03-13T23:39:39+00:00" modified_at: "2026-03-13T23:39:40+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Two-topic column: (1) The TS1000 GOTO statement accepts a line number, variable, or numeric expression as its target — demonstrated with a program that dispatches to line 100 or 200 depending on a key press using CODE A$. (2) Technical explanation of how the TS1000 stores program lines in memory starting at 16509: two bytes…" category: - name: "Timelinez" slug: "timelinez" taxonomy: "category" url: "http://localhost/category/periodicals/timelinez/" 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: "James C. March" slug: "james-c-march" taxonomy: "indiv" url: "http://localhost/indiv/james-c-march/" publication_r: id: 21571 title: "Timelinez" type: "periodical" url: "http://localhost/periodical/timelinez/" authors_r: - name: "James C. March" slug: "james-c-march" taxonomy: "indiv" url: "http://localhost/indiv/james-c-march/" volume: "2" issue: "9" issues_articles: - id: 38807 title: "Timelinez v2 n9" type: "issue" url: "http://localhost/issue/timelinez-v2-n9/" pages: "6" pubdate: "September 1984" archive_link: false --- # The Jungle Jim: GOTO Statement and Program Line Storage Two-topic column: (1) The TS1000 GOTO statement accepts a line number, variable, or numeric expression as its target — demonstrated with a program that dispatches to line 100 or 200 depending on a key press using CODE A$. (2) Technical explanation of how the TS1000 stores program lines in memory starting at 16509: two bytes for line number, two bytes for line length, keyword/character bytes, and a final ENTER byte (118). Excerpted from The Timex/Sinclair User’s Encyclopedia by G. Phillips and J. March (1984).