Download Free course and training document about Fortran 90, tutorial on 20 pages for beginners by Guy Munhoven.
Table of contents
Fortran 90 distinguishes the following program units (scoping units):
At first, we will not deal with modules or block data. It should be noted that the modules are among the most useful innovations of Fortran 90.
Main program
The main program has the following structure:
[PROGRAM [program name]]
specification and declaration instructions
executable instructions
[CONTAINS internal procedures]
END [PROGRAM [program name]]
Everything enclosed in square brackets ([...]) is optional (the brackets themselves are to be omitted in all cases). The PROGRAM statement is not mandatory, but the END statement. The latter can be completed by the PROGRAM attribute which must then be followed by the name of the program
name of the program. Different types of content (specification instructions
and declaration, executable instructions, etc.) are described below.
Subroutines
The subroutine subroutines have a structure similar to that of the main program:
SUBROUTINE name of the subroutine [(arguments)]
specification and declaration instructions
executable instructions
[CONTAINS internal procedures]
END [SUBROUTINE name of the subroutine]
The END statement is mandatory, but not the SUBROUTINE additional specification. If it is given, which is recommended, especially in the case where several subroutines are gathered in the same file, it must be
completed by the name of the subroutine, exactly as specified on the SUBROUTIN line.
Subroutines are run using the CALL command name of the subroutine [(arguments)]
functions
Function type subroutines return a result by calling them by name:
[type] FUNCTION function name ([argument list])
specification and declaration instructions
executable instructions
[CONTAINS internal procedures]
END [FUNCTION function name]
The type (see below) can be specified (recommended); otherwise, it is determined by the default typing rules (see below).
Size : | 134.745 Kb |
File type : | |
Downloads: | 169 |
Created: | 2018-05-21 |
Fortran 90/95 Programming Manual
Getting started with Fortran language
Download free ebook intituled Category Theory for Programmers created by Bartosz Milewski . ...
Ruby Kung Fu (RubyFu) TutorialLooking for a comprehensive guide to hacking using the Ruby programming language? Look no further than RubyFu, a free 281-page PDF download by RuFu....
How To Code in GoThis book is designed to introduce you to writing programs with the Go programming languag..., download free Go tutorial in PDF (447 pages) created by Cory LaNou ....
Deep Learning in Neural Networks: An OverviewIn recent years, deep artificial neural networks (including recurrent ones) have won numerous contests in pattern recognition and machine learning. This historical survey compactly summarises relevant work, much of it from the previous millennium. Shallow and deep learners are distinguished by the...
UNIX Programmer's manualDownload UNIX Programmer's manual in PDF, free training course in 300 pages intended to beginners....
Hacking Secret Ciphers with PythonThere are many books that teach beginners how to write secret messages using ciphers. Ther..., download free Python tutorial in PDF (440 pages) created by ....
Programming Languages and SystemsDownload free course Programming Languages and Systems, pdf file on 1056 pages by Amal Ahmed....
Learn Pascal Programming TutorialA complete course on object programming in Pascal. In the first part, you learn how to use existing code written in object programming. Or, in other words, to use existing classes, especially those used to make the GUI of an application....
Download Tutorial Laravel 5Easy Laravel 5 is an overview of the new PHP plateform, free training document material under 44 pages intended to beginners by W.Jason Gilmore....
Fortran 90 for BeginnersDownload free Fortran 90 Programming language course material, tutorial training, a PDF file by Tadziu Hoffmann & Joachim Puls....