Category : Files from Magazines
Archive   : PCTJ0687.ZIP
Filename : BIGARRAY.F77

 
Output of file : BIGARRAY.F77 contained in archive : PCTJ0687.ZIP
C PROGRAM WITH A LARGE ARRAY
C
INTEGER I, J
REAL MATRIX, SUM
DIMENSION MATRIX(200,200)
C
C MATRIX IS A 200 X 200 = 40000 ELEMENT ARRAY
C OR 160 KILOBYTES AT 4 BYTES/ELEMENT
C
DATA MATRIX/10000*1.0,10000*2.0,10000*3.0,10000*4.0/
C
C Calculate the sum of all elements
C
SUM = 0.0
DO 10 J=1,200
DO 10 I=1,200
SUM = SUM + MATRIX(I,J)
10 CONTINUE
C
WRITE(*,1000) SUM
1000 FORMAT(2X,'SUM = ',1F9.1)
END


  3 Responses to “Category : Files from Magazines
Archive   : PCTJ0687.ZIP
Filename : BIGARRAY.F77

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/