--- title: "Bits and Bytes" type: "article" slug: "bits-and-bytes-50" url: "http://localhost/article/bits-and-bytes-50/" markdown_url: "http://localhost/article/bits-and-bytes-50.md" published_at: "2026-12-01T10:02:36+00:00" modified_at: "2026-12-01T10:02:36+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "109 Here is a method for deletina a block of consecutive lines from a BASIC program on the T/1000, T/S 1500, and ZX 81. Let us suppose that you have a program which ytou want to change by deleteing everything after line 287 up to but not including line 500. The steps are as follows:…" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" indiv: - name: "Alex Burr (K5XY)" slug: "alex-burr" taxonomy: "indiv" url: "http://localhost/indiv/alex-burr/" publication: "QZX" publication_r: id: 21219 title: "QZX" type: "periodical" url: "http://localhost/periodical/qzx/" authors: "Alex Burr (K5XY)" volume: "6" issue: "2" issues_articles: - id: 70142 title: "QZX v6 n2" type: "issue" url: "http://localhost/issue/qzx-v6-n2/" pages: "10" pubdate: "January 1988" archive_link: false volumeissue: "v6n2" --- # Bits and Bytes 109 Here is a method for deletina a block of consecutive lines from a BASIC program on the T/1000, T/S 1500, and ZX 81. Let us suppose that you have a program which ytou want to change by deleteing everything after line 287 up to but not including line 500. The steps are as follows: (1) Add these five lines ``` 288 LET S = PEEK 16425 + 256 * PEEK 16426-50 289 LET L = E-S 290 POKE S + 1, INT (L/256) 291 POKE S,L - 256 * PEEK (S+ 1) 292 STOP ``` (2) Add these 2 lines ``` 498 LET E = PEEK 16425 + 256 * PEEK 16426 + [ 10 + number of digits in the line number of the first line that we added (ie. 288)] 499 GOTO 288 ``` (3) Use the direct command GOTO 498 You will get report code 9/292 on the TV screen) (4) Use the direct command GOTO 288 110 A bug in the ROM of the T/S 2068 causes problems when the DELETE (Cap Shift/0) is held down to delete multiple characters in the edit line. Sometimes it outputs the DELETE keyword instead of just deleting characters as it should in the auto-repeat mode. This oddity is especially noticeable when the edit line is long. The cure is to try releasing and pressing the DELETE key at differing frequencies.