F77
Examples of FORTRAN77 Code


F77, programs which demonstrate some features of the FORTRAN77 programming language.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

Directories related to F77 are available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

F77_INTRINSICS, FORTRAN77 programs which illustrate the use of intrinsic functions.

MAKEFILES, FORTRAN77 programs which illustrate the use of makefiles.

MATLAB_CALLS_F77, MATLAB programs which call a FORTRAN77 function, using MATLAB's mex facility.

MIXED, FORTRAN77 programs which show some examples of writing a program partly in FORTRAN77 and partly in some other language.

MPI, FORTRAN77 programs which show how to set up parallel programs in FORTRAN77.

TIMESTAMP, a FORTRAN77 library which shows how to get a timestamp.

References:

Examples and Tests:

BIG_INTS_REAL shows what can go wrong when you try to move large integer values into and out of real variables.

HELLO is just a "Hello, world!" program. Files you may copy include:

RANDOM_NUMBERS shows one way to generate random numbers, given that FORTRAN77 does not specify a built in random number generator. Files you may copy include:

STOP_MESSAGE shows that a FORTRAN STOP statement can include a message to be printed.

You can go up one level to the FORTRAN77 source codes.


Last revised on 18 February 2017.