ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
975 B

  1. 100 REM Purpose: Verify MAT READ #
  2. 110 REM Author: Howard Wulf, AF5NE
  3. 120 REM Date: 2015-08-05
  4. 130 REM
  5. 200 DIM A(2,2)
  6. 210 FILE #3, "MAT_READ_8.TXT"
  7. 220 RESTORE #3
  8. 300 PRINT "MAT READ #, DEFAULT DELIMITER"
  9. 310 REM DELIMIT #3, ","
  10. 320 MAT READ #3, A
  11. 330 MAT PRINT A
  12. 400 PRINT "MAT READ #, CUSTOM DELIMITER"
  13. 410 DELIMIT #3, "*"
  14. 420 MAT READ #3, A
  15. 430 MAT PRINT A
  16. 500 PRINT "MAT READ #, TAB DELIMITER"
  17. 510 DELIMIT #3, CHR$(9)
  18. 520 MAT READ #3, A
  19. 530 MAT PRINT A
  20. 600 PRINT "MAT PRINT, DEFAULT DELIMITER"
  21. 610 MAT PRINT A
  22. 700 PRINT "MAT PRINT #, DEFAULT DELIMITER"
  23. 710 MAT PRINT #0, A
  24. 800 PRINT "MAT WRITE, DEFAULT DELIMITER"
  25. 810 MAT WRITE A
  26. 900 PRINT "MAT WRITE #, DEFAULT DELIMITER"
  27. 910 MAT WRITE #0, A
  28. 1000 DELIMIT #0, "*"
  29. 1600 PRINT "MAT PRINT, CUSTOM DELIMITER"
  30. 1610 MAT PRINT A
  31. 1700 PRINT "MAT PRINT #, CUSTOM DELIMITER"
  32. 1710 MAT PRINT #0, A
  33. 1800 PRINT "MAT WRITE, CUSTOM DELIMITER"
  34. 1810 MAT WRITE A
  35. 1900 PRINT "MAT WRITE #, CUSTOM DELIMITER"
  36. 1910 MAT WRITE #0, A
  37. 9999 END