--- title: "Line Recharacterizing — 4K and 8K" type: "article" slug: "line-recharacterizing-4k-and-8k" url: "http://localhost/article/line-recharacterizing-4k-and-8k/" markdown_url: "http://localhost/article/line-recharacterizing-4k-and-8k.md" published_at: "2026-03-13T00:28:29+00:00" modified_at: "2026-03-13T00:28:30+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Technique for replacing characters or keywords in a program without retyping, using FOR-PEEK-POKE loops to scan program memory and substitute character codes. Example replaces all AND keywords with OR, with separate versions for 4K and 8K ROM address spaces." 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/" - name: "ZX80" slug: "zx80" taxonomy: "post_tag" url: "http://localhost/tag/zx80/" model: - name: "Sinclair ZX80" slug: "zx80" taxonomy: "model" url: "http://localhost/model/zx80/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Daniel O'Connell" slug: "daniel-oconnell" taxonomy: "indiv" url: "http://localhost/indiv/daniel-oconnell/" publication_r: id: 10246 title: "Syntax" type: "periodical" url: "http://localhost/periodical/syntax/" authors_r: - name: "Daniel O'Connell" slug: "daniel-oconnell" taxonomy: "indiv" url: "http://localhost/indiv/daniel-oconnell/" 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: "19" pubdate: "April 1982" archive_link: false --- # Line Recharacterizing — 4K and 8K Technique for replacing characters or keywords in a program without retyping, using FOR-PEEK-POKE loops to scan program memory and substitute character codes. Example replaces all AND keywords with OR, with separate versions for 4K and 8K ROM address spaces.