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