Fortran 90/95 Programming Manual

Download Fortran 90/95 Programming Manual, free training course under 67 pages by Tanja van Mourik.

Table of contents

  • Chapter 1 Getting started
  • Chapter 2 Types, Variables, Constants, Operators
  • Chapter 3 Control Constructs
  • Chapter 4 Procedures
  • Chapter 5 More on Arrays
  • Chapter 6 Modules
  • Chapter 7 More on I/O
  • Chapter 8 Pointers
  • Chapter 9 Numeric Precision
  • Chapter 10 Scope and Lifetime of Variables
  • Chapter 11 Debugging

Fortran 90 : Internal procedures

The three types of programs and subroutines can contain the CONTAINS statement. This statement separates the last executable statement from the program and marks the beginning of a collection of subroutines (subroutines or functions), called internal procedures. Unlike external routines, that is, those that are not located within a program or subroutine, these subroutines can only be used within the program that contains them. . In addition, these internal procedures have access to all the variables of the program that contains them (the host program), unless they include declarations of identifiers that bear the names of identifiers used in the host program.

These internal procedures allow on one side a better structuring of the tasks to be performed; on the other hand, sharing variables can be dangerous, since there is no way to prevent internal subroutines from modifying the contents of variables in the main program.

Variable declarations

An identifier allows to give a name to:

  • a variable,
  • a constant,
  • a subroutine (subroutine or function).

An identifier must meet the following requirements:

  • it is defined by a sequence of alphanumeric characters (non-accented letters, numbers, underscore),
  • his first character must be a letter,
  • its length is limited to 31 characters,
  • we do not distinguish between uppercase and lowercase letters.

As a result: neither blanks nor special characters in the identifiers.

Size279.259 Kb
File typepdf
Downloads259
Created2018-05-21
Cover of Fortran 90/95 Programming Manual
Preview PDF

Download

  • .NET Microservices

    Download free course .NET Microservices, pdf file on 350 pages by Cesar de la Torre, Bill Wagner, Mike Rousos....

  • UNIX Programmer's manual

    Download UNIX Programmer's manual in PDF, free training course in 300 pages intended to beginners....

  • Android Programming Tutorials

    This book shows you what you can do with Android, through a series of 40 individual exercises. It gives you hands-on instruction in how to build sophisticated Android applications, using many of the technologies outlined in CommonsWare's other Android books. ...

  • Video Game Development in Unity

    Download this free tutorial about Video Game Development in Unity, training document on 34 pages intended to beginners....

  • Bash programming ebook for professionals

    Download free bash tutorial course in PDF, training file in 67 chapters and 204 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Problem Solving with Algorithms and Data Structures

    Download free course Problem Solving with Algorithms and Data Structures, pdf file on 240 pages by Brad Miller, David Ranum....

  • C++ Core Guidelines

    The aim of the guidelines is to help people to use modern C++ effectively. By "modern C++" we mean C++11, C++14, and C++17. In other words, what would you like your code to look like in 5 years' time, given that you can start now? In 10 years' time?...

  • Solving PDEs in Python

    Download free course Solving PDEs in Python, pdf file on 152 pages by Hans Petter Langtangen, Anders Logg....

  • Android on x86: An Introduction to Optimizing for Intel Architecture

    This book is a one-stop reference guide to mindful programming and the unique challenges and opportunities that arise from x86 architectures. It compiles the best practices and procedures associated with application development for devices using Intel's popular line of microprocessors....

  • Learning Java

    Java is a class-based, object-oriented programming language that is designed to have as fe..., download free Java tutorial in PDF (1225 pages) created by ....