--- title: "Two “Draw” & “Plot” Programs" type: "article" slug: "two-draw-plot-programs-2" url: "http://localhost/article/two-draw-plot-programs-2/" markdown_url: "http://localhost/article/two-draw-plot-programs-2.md" published_at: "2026-11-21T22:03:43+00:00" modified_at: "2026-11-21T22:56:05+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Here are two fine programs for the 2068 using several of the new commands. In our next issue we will present Guy's PHONEBOOK program. Guy's address is: Guy Qualls, [address omitted], Plainview, TX 79072. 10 PRINT \"Draw joystick needed\"'''''\"HIT ANY KEY TO START\": PAUSE 0 15 CLS 20 LET a=130: LET b=75 30 PLOT a,b:…" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" - name: "Triangle Sinclair Users Group" slug: "triangle-sinclair-users-group" taxonomy: "post_tag" url: "http://localhost/tag/triangle-sinclair-users-group/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Guy Qualls" slug: "guy-qualls" taxonomy: "indiv" url: "http://localhost/indiv/guy-qualls/" genre: - name: "Graphics" slug: "graphics" taxonomy: "genre" url: "http://localhost/type/graphics/" publication_r: id: 38992 title: "LISTing Newsletter" type: "periodical" url: "http://localhost/periodical/listing-newsletter/" authors: "Guy Qualls" issues_articles: - id: 40140 title: "LISTing Newsletter December 1983 – January 1984" type: "issue" url: "http://localhost/issue/listing-newsletter-december-1983-january-1984/" pages: "18" pubdate: "December 1983 - January 1984" archive_link: false --- # Two “Draw” & “Plot” Programs Here are two fine programs for the 2068 using several of the new commands. In our next issue we will present Guy’s PHONEBOOK program. Guy’s address is: Guy Qualls, [address omitted], Plainview, TX 79072. ``` 10 PRINT "Draw joystick needed"'''''"HIT ANY KEY TO START": PAUSE 0 15 CLS 20 LET a=130: LET b=75 30 PLOT a,b: INK 0 37 IF STICK (1,1)=5 THEN LET b=b+1: LET a=a-1 40 IF STICK (1,1)=1 THEN LET b=b+1 45 IF a<0 THEN LET a=0 47 IF STICK (1,1)=6 THEN LET a=a-1: LET b=b-1 50 IF STICK (1,1)=4 THEN LET a=a-1 55 IF a>255 THEN LET a=255 57 IF STICK (1,1)=10 THEN LET b=b-1: LET a=a+1 60 IF STICK (1,1)=2 THEN LET b=b-1 65 IF b<0 THEN LET b=0 67 IF STICK (1,1)=9 THEN LET a=a+1: LET b=b+1 70 IF STICK (1,1)=8 THEN LET a=a+1 75 IF b>175 THEN LET b=175 1000 GO TO 30 9999 SAVE "draw" LINE 10 ``` ``` 10 PRINT "DRAW2 THIS DOES NOT CHECK FOR BORDER"''''''"HIT ANY KEY TO START": PAUSE 0 12 CLS 15 PRINT "where do you want to start line at?" 25 INPUT q: INPUT w 26 CLS 27 PLOT q,w 30 IF STICK (1,1)=5 THEN DRAW -1,1 40 IF STICK (1,1)=1 THEN DRAW 0,1 47 IF STICK (1,1)=6 THEN DRAW -1,-1 50 IF STICK (1,1)=4 THEN DRAW -1,0 57 IF STICK (1,1)=10 THEN DRAW 1,-1 60 IF STICK (1,1)=2 THEN DRAW 0,-1 67 IF STICK (1,1)=9 THEN DRAW 1,1 70 IF STICK (1,1)=8 THEN DRAW 1,0 1000 GO TO 30 9999 SAVE "draw2" LINE 10 ``` From [Triangle users Group Newsletter](http://localhost/periodical/triangle-sinclair-users-group/)