|
- 10 REM 'DIM' THREE DIMENSION ARRAY TEST PROGRAM
- 20 DIM A(3,4,2)
- 30 PRINT "THESE NUMBERS ARE STORED IN AND PRINTED"
- 40 PRINT "FROM A THREE DIMENSION NUMERIC ARRAY."
- 50 FOR K=1 TO 2
- 60 FOR I=1 TO 3
- 70 FOR J=1 TO 4
- 80 A(I,J,K)=I
- 90 NEXT J
- 100 NEXT I
- 110 NEXT K
- 120 FOR K=1 TO 2
- 130 FOR I=1 TO 3
- 140 FOR J=1 TO 4
- 150 PRINT A(I,J,K),
- 160 NEXT J
- 165 PRINT
- 170 NEXT I
- 180 PRINT
- 190 NEXT K
- 999 END
|