home *** CD-ROM | disk | FTP | other *** search
/ Go64! / Go64_1998-12_1998_CSW_Side_A.d64 / test8 (.txt) < prev    next >
Commodore BASIC  |  2023-02-26  |  3KB  |  97 lines

  1. 10 print"[147]";:gosub59000
  2. 20 br=mb:i7=1:i8=1
  3. 30 st$="[193]uswahl mit den [208]feiltasten,  ausloesen mit <[210]eturn>":gosub1700
  4. 40 gosub1600
  5. 50 gosub1500:ifri=0then50
  6. 60 ifri=1thengosub1300:i7=i7+1:i8=1:ifi7>mntheni7=1
  7. 70 ifri=2thengosub1300:i7=i7-1:i8=1:ifi7=0theni7=mn
  8. 80 ifri=3theni8=i8+1:ifi8>hotheni8=1
  9. 90 ifri=4theni8=i8-1:ifi8=0theni8=ho
  10. 100 ifri=5theni6=br:gosub1300:gosub1700:gosub2000:zl=1:br=i6:goto30
  11. 110 goto40
  12. 900 zl=0:gosub1200
  13. 999 end
  14. 1100 gosub1200:print"[176]";:fori9=1tobr:print"[192]";:next:print"[174]"
  15. 1110 fori9=1toho:printtab(sp)"[221]"spc(br)"[221]":next
  16. 1120 printtab(sp)"[173]";:fori9=1tobr:print"[192]";:next:print"[189]";:return
  17. 1200 poke214,zl:poke211,sp:sys58640:return
  18. 1300 gosub1200:fori9=1toho+2:printtab(sp)left$(l$,br+2);:ifi9<ho+2thenprint
  19. 1310 next:return
  20. 1400 en$="":i9=0
  21. 1405 print"[164][157]";
  22. 1410 getx9$:ifx9$=""then1410
  23. 1420 ifx9$=chr$(13)then1480
  24. 1430 ifx9$=chr$(20)andi9>0thenprint"[157][157][164][157]";:i9=i9-1:en$=left$(en$,i9)
  25. 1440 ifx9$<" "orx9$>"[218]"then1410
  26. 1450 ifx9$>"_"andx9$<"[193]"then1410
  27. 1460 ifx9$=chr$(34)thenprintchr$(148)x9$chr$(20);
  28. 1470 en$=en$+x9$:printx9$;:i9=i9+1:iflg>i9then1405
  29. 1480 print" ";:return
  30. 1500 ri=0
  31. 1510 getx9$:ifx9$=""then1510
  32. 1520 ifx9$=""thenri=1
  33. 1530 ifx9$="[157]"thenri=2
  34. 1540 ifx9$=""thenri=3
  35. 1550 ifx9$="[145]"thenri=4
  36. 1560 ifx9$=chr$(13)thenri=5
  37. 1570 return
  38. 1600 zl=1:ho=mn%(i7):sp=mb*(i7-1):ifsp+mb>38thensp=37-mb
  39. 1605 gosub1100:sp=sp+1
  40. 1610 fori6=1toho:zl=zl+1:gosub1200:ifi6=i8thenprint"";
  41. 1620 printmn$(i7,i6)"[146]";:next:zl=1:sp=sp-1
  42. 1630 return
  43. 1700 zl=23:sp=0:gosub1200:printl$:printl$;:zl=zl-1:gosub1200:en$="[164]":lg=40:gosub1800
  44. 1710 zl=zl+1:gosub1200:printst$;:st$="":en$="":return
  45. 1800 fori9=1tolg:printen$;:next:return
  46. 2000 ifi7<>1then2050
  47. 2010 ifi8=1thengosub5000
  48. 2020 ifi8=2thengosub5000
  49. 2030 ifi8=3thengosub5000
  50. 2040 ifi8=4thengosub5000
  51. 2045 ifi8=5thengosub4900
  52. 2050 ifi7<>2then2100
  53. 2060 ifi8=1thengosub5000
  54. 2070 ifi8=2thengosub5000
  55. 2080 ifi8=3thengosub5000
  56. 2090 ifi8=4thengosub5000
  57. 2100 ifi7<>3then2150
  58. 2110 ifi8=1thengosub5000
  59. 2120 ifi8=2thengosub5000
  60. 2150 ifi7<>4then2200
  61. 2160 oni8gosub6000,5000,5000
  62. 2200 return
  63. 4900 zl=8:sp=8:br=22:ho=5:gosub1100:zl=zl+1:sp=sp+1:gosub1200
  64. 4910 print""left$(l$,br);:gosub1200:printmn$(i7,i8)"[146]";
  65. 4920 zl=zl+2:gosub1200:print"[193]uf [215]iedersehen!";
  66. 4930 st$="[196]anke fuer's [205]itmachen! [194]is dann.   $[193][196]":gosub1700
  67. 4940 zl=1:sp=0:gosub1200
  68. 4950 end
  69. 5000 zl=8:sp=9:br=20:ho=5:gosub1100:zl=zl+1:sp=sp+1:gosub1200
  70. 5010 print""left$(l$,br);:gosub1200:printmn$(i7,i8)"[146]";
  71. 5020 zl=zl+2:gosub1200:print"[215]eiter mit [212]aste.";
  72. 5030 st$="[196]ies ist die [211]tatuszeile. ":gosub1700:lg=1:gosub1400
  73. 5040 zl=8:sp=9:br=20:ho=5:gosub1300
  74. 5050 return
  75. 6000 zl=8:sp=9:br=20:ho=5:gosub1100:zl=zl+1:sp=sp+1:gosub1200
  76. 6010 print""left$(l$,br);:gosub1200:printmn$(i7,i8)"[146]";
  77. 6020 zl=zl+2:gosub1200:print"[205]enues in [194][193][211][201][195]";
  78. 6030 zl=zl+1:gosub1200:print"von";
  79. 6040 zl=zl+1:gosub1200:print"        [193]rndt [196]ettke[151]";
  80. 6050 st$="[214]iel [211]pass mit diesem [208]rogramm! ":gosub1700:lg=1:gosub1400
  81. 6060 zl=8:sp=9:br=20:ho=5:gosub1300
  82. 6070 return
  83. 59000 i9=0:i8=0:i7=0:i6=0:zl=0:sp=0:br=0:ho=0:x9$="":en$="":st$=""
  84. 59010 read mn,sm,mb:dim mn$(mn,sm),mn%(mn)
  85. 59020 fori9=1tomn:readmn$(i9,0):next
  86. 59025 fori8=1tomn:readmn%(i8):sm=mn%(i8):fori9=1tosm:readmn$(i8,i9):next:next
  87. 59080 l$="                                       ":lg=1
  88. 59090 fc=11:fb=15:fr=12:poke53281,fb:poke53280,fr:poke646,fc
  89. 59095 print""l$" ";:fori9=1tomn:sp=(i9-1)*mb:gosub1200:printmn$(i9,0);:next:print"[146]";
  90. 59099 return
  91. 60000 data 4,6,10:rem anzahl menues,max. anzahl submenues, menuebreite
  92. 60010 data "[196]atei","[194]earb.","[197]xtras","[200]ilfe"
  93. 60020 data 5,"[206]eu","[207]effnen","[211]chliessen","[211]peichern","[194]eenden"
  94. 60030 data 4,"[210]ueckgaeng","[193]usschneid","[203]opieren","[197]infuegen"
  95. 60040 data 2,"[201]mport","[197]xport"
  96. 60050 data 3,"[213]eber...","[201]ndex","[193]llgemein"
  97.