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 |
Introduction to programming with Fortran 95
Getting started with Fortran language
An introductory coverage of algorithms and data structures with application to graphics and geometry. ...
Statistics with JuliaCcurrently many of Julia's users are hard-core developers that contribute to the language'..., download free Julia tutorial in PDF (413 pages) created by Hayden Klok ....
The Busy Coder's Guide to Android DevelopmentThis book tries to cover as much material as possible, but aimed more for people new to mobile development. The book includes dozens of sample projects, ready to run with your copy of the SDK - not just one huge project where you have difficulty finding the specific examples of the technique you a...
Test-Driven Development with PythonBy taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum a...
The Rook's Guide to C++This Creative Commons-licensed textbook written by Norwich University students and faculty aims to provide an introduction to the C++ programming language. The PDF and original typesetting materials are available if you are interested in having a free digital copy of your own or if you wish to contr...
Think Java: How to Think Like a Computer Scientist, 2nd EditionThis book is a hands-on introduction to computer science and programming used by many universities and high schools around the world. Its conciseness, emphasis on vocabulary, and informal tone make it particularly appealing for readers with little or no experience. The book starts with the most basi...
Practical Artificial Intelligence Programming in JavaThis book uses both best of breed open source software and the author's own libraries to introduce the reader to Artificial Intelligence (AI) technologies like genetic algorithms, neural networks, expert systems, machine learning, and statistical natural language processing (NLP)....
Java Succinctly Part 2Download free course Java Succinctly Part 2, pdf file on 134 pages by Christopher Rose....
Android Programming BasicsStart learning development mobile with this tutorial ,it's an easy trainig document in PDF the about of Android Programming ,free courses under 22 pages for beginners....
Effective AWK Programming, 5th EditionWhen processing text files, the awk language is ideal for handling data extraction, report..., download free AWK Programming tutorial in PDF (572 pages) created by ....