2 ON ERROR GOTO 320
4 SCREEN 7: COLOR 3: KEY OFF
5 SHELL "pcxview.exe rekl.pcx /g /k /q"
7 IF INKEY$ = "" THEN 7
8 REM 16/12/95
20 DIM F(1000)
25 SCREEN 7: COLOR 3: SHELL "pcxview.exe eltok_1.pcx /g /k /q"
26 IF INKEY$ = "" THEN 26
30 SCREEN 1
40 REM shell"my.exe"
60 SCREEN 7: COLOR 3: SHELL "pcxview.exe eltok.pcx /g /k /q"
80 GET (155, 115)-(172, 126), F: X5 = 155: Y5 = 115: REM  PUT (155,115),F,XOR
90 D$ = INKEY$: IF D$ = "" THEN 90
91 XX = 0: YY = 0
100 IF D$ = "8" OR D$ = CHR$(0) + CHR$(72) THEN IF Y5 > 6 THEN XX = 0: YY = -5 ELSE XX = 0: YY = 0
110 IF D$ = CHR$(0) + CHR$(80) OR D$ = "2" THEN IF Y5 < 185 THEN XX = 0: YY = 5 ELSE XX = 0: YY = 0
120 IF D$ = CHR$(0) + CHR$(75) OR D$ = "4" THEN IF X5 > 6 THEN XX = -5: YY = 0 ELSE XX = 0: YY = 0
130 IF D$ = CHR$(0) + CHR$(77) OR D$ = "6" THEN IF X5 < 290 THEN XX = 5: YY = 0 ELSE XX = 0: YY = 0
140 IF D$ = CHR$(13) THEN SCREEN 0: WIDTH 40: GOTO 160
150 PUT (X5, Y5), F, XOR: X5 = X5 + XX: Y5 = Y5 + YY: PUT (X5, Y5), F, XOR: GOTO 90
160 IF X5 <= 155 AND Y5 <= 96 THEN GOSUB 200: RUN "omucmenu"
170 IF X5 >= 155 AND Y5 >= 96 THEN SCREEN 7: COLOR 3: SHELL "a.exe spasibo.fli": GOTO 320
180 IF X5 >= 155 AND Y5 <= 96 THEN GOSUB 200: RUN "ompcmenu"
185 IF X5 <= 155 AND Y5 >= 96 THEN GOSUB 200: RUN "elektro1.bas"
200 RETURN
310 I$ = INKEY$: IF I$ = "" THEN 310
320 RUN "setk"

