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.
 
 
 
 
 
 

14 lines
321 B

  1. 10 REM 'MAT READ' (REQUEST > DIM) TEST PROGRAM
  2. 20 DIM A(3,4)
  3. 30 MAT READ A(4,5)
  4. 40 FOR I=1 TO 3
  5. 50 FOR J=1 TO 4
  6. 60 PRINT A(I,J);
  7. 70 NEXT J
  8. 80 PRINT
  9. 90 NEXT I
  10. 100 DATA 1,2,3,4,5,6,7,8,9,10,11,12
  11. 110 PRINT "THE MAT READ STATEMENT PASSED THE TEST"
  12. 120 PRINT "IF A MATRIX IS PRINTED HAVING 3 ROWS AND 4 COLUMNS"
  13. 999 END