Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v4 n2 (Volume 4, Issue 2)
Date: February 1983
Pages: 5
Draw a heart with a valentine message in the middle. You can change the message with 210 PRINT AT 6,11;”I LOVE YOU” and add your name at the bottom with 220 PRINT AT 18,20; “xxxxx” (replace xs with your name). To run, GOTO 30.
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"
SYNTACTIC SUM: 22430, 8K ROM
Media
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.