home *** CD-ROM | disk | FTP | other *** search
/ 64'er Special 12 / 64er_Magazin_Sonderheft_12_86-12_1986_Markt__Technik_de_Side_A.d64 / fehler-test (.txt) < prev    next >
Commodore BASIC  |  2022-10-26  |  485b  |  19 lines

  1. 10 a(9)=500
  2. 20 poke2,500:rem illegal quantity
  3. 30 poke70000,5:rem illegal quantity
  4. 40 poke70000,5:rem illegal quantity
  5. 50 printchr$(500):rem illegal quantity
  6. 60 print1/0:rem division by zero
  7. 70 dima(100):dima(200):rem redim'd ar.
  8. 80 nexti:rem next without for
  9. 90 return:rem return without gosub
  10. 100 a=1e100:rem overflow
  11. 110 syntax:rem syntax
  12. 120 goto0:rem undef'd statement
  13. 130 gosub0:rem undef'd statement
  14. 140 reada:rem out of data
  15. 150 a$=5:rem type mismatch
  16. 160 a="text":rem type mismatch
  17. 170 printfn a(8):rem undef'd function
  18. 180 print#1:rem file not open
  19.