q = 41: q2 = 16
begin:
MID$(t$
, 3) = " ":
MID$(t$
, 6) = " " ' no colons in military time t2$ = t$
c$
= MID$(t$
, i
, 1): lc$
= MID$(w$
, i
, 1) dx
= INSTR("1234567890", c$
) - (c$
= "0") x1 = 60 + (i - 1) * 104: y1 = 200
LINE (x1
- 52, 150)-(x1
+ 52, 250), 0, BF
x1
= 230 + ((i
- 1) MOD 2) * 160 y1 = 80 + ((i - 1) \ 2) * 140
LINE (x1
- 80, y1
- 60)-(x1
+ 80, y1
+ 60), 0, BF
de = a(dx, j) - 90 ' degrees
LINE (x1
- 6, y1
)-(x1
+ 6, y1
+ 20), 15, B
x2 = x1 + (j - .5) * (20 - (ctype = 1) * 20)
LINE (x2
, y1
)-(x3
, y2
), 15 ' arms de = de - 90 * s
IF a
= 1 THEN ' save for diagonal sx = x4: sy = y4
td = de - 45 * s
rx
= x3
+ (q2 \
2) * COS(_D2R(td
)) ' to paint red td = de - 45 * s
yx
= x3
+ (q2 \
2) * COS(_D2R(td
)) ' to paint yellow x3 = x4: y2 = y4
LINE -(sx
, sy
), 15 ' diagonal PAINT (rx
, ry
), 4, 15 ' red PAINT (yx
, yy
), 14, 15 ' yellow w$ = t$ ' was
IF i$
= "t" THEN ' 3 rows of 2 q = 41: q2 = 16
q = 58: q2 = 24
DATA 1,225,180,2,270,180,3,315,180,4,0,180,5,180,45,6,180,90 DATA 7,180,135,8,270,225,9,225,315,j
,0,90,0,225,0