Computer History Notes - Herong's Tutorial Notes - v3.13, by Herong Yang
FORTRAN 66 - Example Program Code
This section provides a simple example program code of FORTRAN 66 language.
Here is a simple example code of FORTRAN 66 (FORTRAN IV) for an IBM1130 using 8Kb memory in 1973 (Source: www.thocp.net):
// JOB // FOR * ONE WORD INTEGERS * IOCS(DISK,TYPEWRITER,KEYBOARD,PAPERTAPE) DIMENSION IEMG(10,15),IEMG1(13) DEFINE FILE 12(80,150,U,K) WRITE(1,10) 10 FORMAT('PAPERTAPE'//'GIVE NUMBER EXPERIMENT (1-5 IN INT)') READ(6,30) M 30 FORMAT(I1) PAUSE 1 DO 25 N=1,16 DO 15 I=1,15 READ(4,20) IEMG1 20 FORMAT(13I4) DO 15 J=4,13 J3=J-3 15 IEMG(J3,I)=IEMG1(J) NE=N+(M-1)*16 25 WRITE(12'NE) IEMG CALL EXIT END // DUP *DELETE SJA1 *STORECI WS UA SJA1 *FILES(12,EMG)
Note that JCL (Job Control Language) commands were used to control how the FORTRAN program should be executed in the above example.
Table of Contents
2002 - .NET Framework Developed by Microsoft
1995 - PHP: Hypertext Preprocessor Created by Rasmus Lerdorf
1995 - Java Language Developed by Sun Microsystems
1991 - WWW (World Wide Web) Developed by Tim Berners-Lee
1991 - Gopher Protocol Created by a University of Minnesota Team
1984 - X Window System Developed a MIT Team
1984 - Macintosh Developed by Apple Inc.
1983 - "Sendmail" Mail Transfer Agent Developed by Eric Allman
1979 - The Tcsh (TENEX C Shell) Developed by Ken Greer
1978 - Bash (Bourne-Again Shell) Developed by Brian Fox
1978 - The C Shell Developed by Bill Joy
1977 - The Bourne Shell Developed by Stephen Bourne
1977 - Apple II Designed by Steve Jobs and Steve Wozniak
1976 - vi Text Editor Developed by Bill Joy
1974 - Internet by Vinton Cerf
1972 - C Language Developed by Dennis Ritchie
1971 - FTP Protocol Created by Abhay Bhushan
1970 - UNIX Operating System Developed by AT&T Bell Labs
►1957 - FORTRAN Language Developed by IBM
Storing FORTRAN Program Code on Punch Cards
►FORTRAN 66 - Example Program Code
FORTRAN 77 - Example Program Code
g77 - GNU Project FORTRAN Compiler