FORTRAN 77 for Engineers and Scientists with an Introduction to FORTRAN 90

Stephen J. Chapman · 2019

Part 1 Introduction to Computers and the FORTRAN Language: The Computer Data Representation in the Computer Computer Languages The History of the FORTRAN Language FORTRAN 90 Summary Chapter 1 Key Words Chapter 2 Exercises. Part 2 Basic Elements of FORTRAN: Introduction The FORTRAN Character Set The Structure of a FORTRAN Statement The Structure of a FORTRAN Program Constants and Variables Assignment Statements and Arithmetic Calculations Assignment Statements and Logical Calculations Intrinsic Functions List-Directed Input and Output Statements Initialisation of Variables The Implicit-None Statement Debugging FORTRAN Programs Summary. Part 3 Control Structures and Program Design: Introduction to Top-Down Design Techniques Use of Pseudocode and Flowcharts Crolt Structures: Branches Control Structures: Loops More on Debugging FORTRAN Programs Summary. Part 4 Basic 1/0 Concepts: The FORMAT Statement and Formatted WRITE Statements Output Devices Format Descriptors Formatted READ Statements An Introduction to Files and File Processing Summary. Part 5 Arrays: Declaring Arrays Using Arrays Input and Output Example Problems Two-Dimensional Arrays Multi-Dimensional Arrays When Should You Use an Array? Summary. Part 6 Subprograms and Structured Programming: Subroutines The SAVE Statement COMMON Blocks Initialising Data in COMMON Blocks: The BLOCK DATA Subprogram FORTRAN Functions Passing Subprogram Names as Arguments to Other Subprograms Summary. Part 7 Character Variables: Declaring and Initialising Character Variables Character String Manipulations Character Comparison Operations Intrinsic Character Functions User-Defined Character Functions Passing Character Variables to Subroutines and Function Internal Files Character Strings to FORTRAN 1/0 Statements Summary. Part 8 Advanced 1/0 Concepts: Additional Format Descriptors Defaulting Values in List-Directed Input Advanced Disk File I/O Unformatted Files Direct Access Files Summary. Part 9 Additional Data Types: The DOUBLE PRECISION Data Type The COMPLEX Data Type Summary. Part 10 Introduction to Numerical Methods: The Types of Errors Found in Computer Calculations Numerical Applications Summary. Part 11 FORTRAN Libraries: Types of FORTRAN Libraries Using FORTRAN Libraries Example Problems Summary. Part 12 Miscellaneous FORTRAN Features: Obsolete and/or Undesirable Declaration Statements Undesirable Subprogram Features Miscellaneous Execution Control Features Obsolete Branching Structures Obsolete 1/0 Statements Summary. Part 13 Introduction to FORTRAN 90: New Source Format New Variable Names and Types Expressions and Relational Operators Branching and Looping Structures Array Operations Subprograms Dynamic Memory Allocation and Pointers 1/0 System Improvements Summary. Appendices. ASCII and EBCDIC Coding Systems FORTRAN 77 Intrinsic Functions Specific Versus Generic Intrinsic Functions. (Part contents)

Read the paper · More papers on PaperTik