--- title: "Sweethearts" id: 76640 type: "computer_media" slug: "sweethearts" url: "http://localhost/computer_media/sweethearts/" markdown_url: "http://localhost/computer_media/sweethearts.md" published_at: "2026-11-11T08:02:16+00:00" modified_at: "2026-11-11T08:02:16+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/sweethearts-1.png" excerpt: "A valentine program that draws a large heart of inverse asterisks with a HAPPY VALENTINE message in the middle, ready for your own words." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Larry Allen" slug: "allen-larry" taxonomy: "indiv" url: "http://localhost/indiv/allen-larry/" genre: - name: "Holiday" slug: "holiday" taxonomy: "genre" url: "http://localhost/type/holiday/" media_type: "Program" programmers: - name: "Larry Allen" slug: "allen-larry" taxonomy: "indiv" url: "http://localhost/indiv/allen-larry/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Sweethearts%20%281983%29%28Allen%2C%20Larry%29%28TS1000%29%28US%29%28Program%29.zip" mediadate: "1983" images: - url: "http://localhost/wp-content/uploads/2026/11/sweethearts-1.png" - url: "http://localhost/wp-content/uploads/2026/11/sweethearts-2.png" - url: "http://localhost/wp-content/uploads/2026/11/sweethearts-3.png" article_media: - id: 19412 title: "Sweethearts" type: "article" url: "http://localhost/article/sweethearts/" related_content: - id: 19431 title: "Program Improvements/Refinements" type: "article" url: "http://localhost/article/program-improvements-refinements-5/" media_type_tags: "Holiday" license: false --- # Sweethearts Draws a large heart of inverse asterisks with HAPPY VALENTINE in the middle. A subroutine at line 10 prints one block at row A, column B, and three loops fill in the two lobes, the wide middle and the tapering point. Start it with GOTO 30, as the article says: RUN begins at the subroutine and stops with report 2/10. The article suggests changing the message in line 210 and adding your name at the bottom. As printed, the right side of the heart has a bite out of it; the March 1983 Program Improvements column fixes this by changing line 120 to FOR B=7 TO 24. The download has both versions. Published in Syntax February 1983 ([Sweethearts](https://timexsinclair.com/article/sweethearts/)). ## Source Code ``` 10 PRINT AT A,B;CHR$ 151 20 RETURN 30 FOR A=1 TO 4 40 FOR B=11-A TO 11+A 50 GOSUB 10 60 NEXT B 70 FOR B=20-A TO 20+A 80 GOSUB 10 90 NEXT B 100 NEXT A 110 FOR A=5 TO 9 120 FOR B=7 TO 21 130 GOSUB 10 140 NEXT B 150 NEXT A 160 FOR A=10 TO 17 170 FOR B=A-2 TO 33-A 180 GOSUB 10 190 NEXT B 200 NEXT A 210 PRINT AT 6,13;"HAPPY";AT 7,11;"VALENTINE" ```