--- title: "That Zero Line Again" type: "article" slug: "that-zero-line-again" url: "http://localhost/article/that-zero-line-again/" markdown_url: "http://localhost/article/that-zero-line-again.md" published_at: "2022-10-07T12:26:34+00:00" modified_at: "2026-08-02T20:19:56+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "On reading the last Issue of Computerchat, I became Interested in the different methods used to create line 0s In listings. The easiest way lo do this is to write a line 1 and then POKE 23756,0. However any line 0 can be removed by POKE 23756,1 or whatever. I put my copyright message at…" category: - name: "LISTing Newsletter" slug: "listing-newsletter" taxonomy: "category" url: "http://localhost/category/periodicals/listing-newsletter/" post_tag: - name: "Best of Timex/Sinclair 2068 Articles and Documents" slug: "ts2068best" taxonomy: "post_tag" url: "http://localhost/tag/ts2068best/" - name: "Reference" slug: "reference" taxonomy: "post_tag" url: "http://localhost/tag/reference/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "D. Spencer" slug: "d-spencer" taxonomy: "indiv" url: "http://localhost/indiv/d-spencer/" publication_r: id: 38992 title: "LISTing Newsletter" type: "periodical" url: "http://localhost/periodical/listing-newsletter/" authors: "D. Spencer" authors_r: - name: "D. Spencer" slug: "d-spencer" taxonomy: "indiv" url: "http://localhost/indiv/d-spencer/" issues_articles: - id: 40222 title: "LISTing Newsletter September 1989" type: "issue" url: "http://localhost/issue/listing-newsletter-september-1989/" pages: "8" pubdate: "September 1989" archive_link: false --- # That Zero Line Again On reading the last Issue of Computerchat, I became Interested in the different methods used to create line 0s In listings. The easiest way lo do this is to write a line 1 and then POKE 23756,0. However any line 0 can be removed by POKE 23756,1 or whatever. I put my copyright message at the other end of the program. When a line 1 is written, POKE 23755,46: POKE 23756,224 will turn It Into a line 2000 (in effect a line 12000). This type of line will list after 9999 and is also edlt-proof as it cannot be re-entered. For POKE 23755,n, n can take any value between 40 and 63. It is simple to write a program and then merge a short Iwo-line BASIC program containing the copyright messages with It. However when a program of 7K or more, containing a line greater than 9999, is merged Into the machine the result is a crash as the machine tries to compose a line greater than 9999 with the contents of memory. This means the auto-run cannot be avoided. I POKE 23613, PEEK 23730-5 is used to disengage the BREAK key, then the BASIC program produced can be as hard to copy as a machine code program. The line number POKEs depend on BASIC program area starting at 23755 which is not true on a Spectrum with microdrives. P.S. Did you know that on the Spectrum a basic line can be entered that does not contain a key word? A basic line can be entered that contains only a cursor colour command, 1-0 in extended mode … is this another bug ln the ROM? P.P.S. Try this: ``` 10 PLOT 128,0 20 DRAW 0,175,189*PI ```