--- title: "READ-DATA-RESTORE Subroutine" type: "article" slug: "read-data-restore-subroutine" url: "http://localhost/article/read-data-restore-subroutine/" markdown_url: "http://localhost/article/read-data-restore-subroutine.md" published_at: "2026-03-13T00:29:11+00:00" modified_at: "2026-03-13T00:29:12+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Technique for simulating READ, DATA, and RESTORE statements (absent from ZX81 BASIC) using a string variable as a data container and subroutines as READ and RESTORE equivalents. Includes both integer and decimal data variations." 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: "Herbert A. Magnus" slug: "herbert-a-magnus" taxonomy: "indiv" url: "http://localhost/indiv/herbert-a-magnus/" publication_r: id: 10246 title: "Syntax" type: "periodical" url: "http://localhost/periodical/syntax/" authors_r: - name: "Herbert A. Magnus" slug: "herbert-a-magnus" taxonomy: "indiv" url: "http://localhost/indiv/herbert-a-magnus/" volume: "3" issue: "4" issues_articles: - id: 52478 title: "Syntax/Syntax ZX80 v3 n4" type: "issue" url: "http://localhost/issue/syntax-syntax-zx80-v3-n4/" pages: "18" pubdate: "April 1982" archive_link: false --- # READ-DATA-RESTORE Subroutine Technique for simulating READ, DATA, and RESTORE statements (absent from ZX81 BASIC) using a string variable as a data container and subroutines as READ and RESTORE equivalents. Includes both integer and decimal data variations.