home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1986 September
/
64er_Magazin_86-09_1986_Markt__Technik_de.d64
/
multi-taste
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
481b
|
19 lines
5 t=asc("^"):rem hier auswahltaste einsetzen
6 x=6:rem anzahl der funktionen
10 print"[147]demo-programm fuer 'mulitfunktionstaste'":print:print
20 forz=1tox:printz"mal <"chr$(t)"> druecken = funktion "z:print:nextz:goto40
30 fork1=1to50:fork2=640to631step-1:pokek2,0:nextk2:nextk1
40 gett$:ift$<>chr$(t)then40
50 fora=1tox:fork=1to35
60 gett$:ift$=chr$(t)thennexta
70 ifa>xthen30
80 nextk
90 onagoto1000,2000,3000,4000,5000,6000
100 :
1000 print"[147]funktion 1":end
2000 print"[147]funktion 2":end
3000 print"[147]funktion 3":end
4000 print"[147]funktion 4":end
5000 print"[147]funktion 5":end
6000 print"[147]funktion 6":end