6 INPUT " !!! ZADEJ HESLO !!! " ; ALO$
7 IF ALO$ = "COBRA 11" THEN GOTO POGR
21 LINE (A,A)-(640-A,A),C
22 LINE (A,106-A)-(640-A,106-A),C
23 LINE (A,A)-(A,106-A),C
24 LINE (640-A,A)-(640-A,106-A),C
25 LINE (A,110+A)-(640-A,110+A),C
26 LINE (A,200-A)-(640-A,200-A),C
27 LINE (A,110+A)-(A,200-A),C
28 LINE (640-A,110+A)-(640-A,200-A),C
32 A$="TELEFONY CLUB exit! HESLA PARŤáCI "
35 ON MENU GOSUB TELEFON,DIR,KONEC,HELP,LOAD
38 '-----------------------------------------------------------------------------
41 print "MUDRUNKA 56 18 243"
43 '-----------------------------------------------------------------------------
46 PRINT "KROTITELÉ DUCHů"
48 '-----------------------------------------------------------------------------
55 '-----------------------------------------------------------------------------
58 A$="ZAKLADNI COBRA 11"
59 CALL ECHO (5,16,A$,13)
60 A$="DO NASI BEDNY DF45M3"
61 CALL ECHO (7,17,A$,13)
62 A$="DO NASEHO UKRITU (BUNKRU,CTYRKOLKY) SD85L6"
64 CALL ECHO (7,18,A$,13)
70 '-----------------------------------------------------------------------------
73 PRINT "MUDRUNKA,COUFAL=VELITELE.VELEBNY,TOMEK,HORNYCH,HAUK."
76 '-----------------------------------------------------------------------------
80 '-----------------------------------------------------------------------------
82 ' postupny tisk textu obsazeneho v retezcove promenne A$
102 '--------------------------------------------------------------------------
107 ' X a Y jsou textove souradnice menu-okna
108 ' A$ obsahuje text okna
109 ' D je pocet polozek (radku) v menu
110 ' W=1 - pouze vypis okna , W=0 - vypis i vyber z menu
112 ' v promenne MENU podprogram vraci cislo zvolene polozky
114 L=LEN (A$)/D : MENU = 1 : M = MENU+.0001
117 FOR A=1 TO L+2 : PRINT CHR$(205); : NEXT A
119 FOR A= 1 TO LEN(A$) STEP L
121 PRINT CHR$(186);" ";MID$(A$,A,L);" ";CHR$(186);
123 LOCATE Y+A/L+1,X: PRINT CHR$(200);
124 FOR A=1 TO L+2 : PRINT CHR$(205); : NEXT A
126 IF W=1 THEN W=0 : RETURN
130 IF LEN(I$)=2 THEN IF ASC(MID$(I$,2,1))=72 THEN MENU = MENU - 1
131 IF LEN(I$)=2 THEN IF ASC(MID$(I$,2,1))=80 THEN MENU = MENU + 1
132 IF MENU < 1 THEN MENU = D
133 IF LEN(I$)=1 THEN IF ASC(I$)=13 THEN EXIT LOOP
134 IF MENU > D THEN MENU = 0 : EXIT LOOP
135 IF MENU <> M THEN LOCATE Y+M,X+L+2 : PRINT " ";:LOCATE Y+M,X+1 : PRINT " ";
136 IF MENU <> M THEN LOCATE Y+MENU,X+L+2:COLOR 11:PRINT CHR$(174);:LOCATE Y+MENU,X+1:PRINT CHR$(175);:COLOR C
143 '-----------------------------------------------------------------------------
150 '-----------------------------------------------------------------------------
153 IF INKEY$<>"" THEN EXIT LOOP
154 C=C+1:IF C>15 THEN C=1
155 COLOR C : LOCATE 24,55:PRINT "STLAC LIBOVOLNOU KLAVESU";
158 '-----------------------------------------------------------------------------