In this tutorial, I will teach you how to use subroutines to do repetitive operations. I will talk about: – How to declare a subroutine – How to define the input variables – How to get the output of the subroutine inside your program Subroutines are almost like functions in fortran, except that they can […]
Simple Fortran Video Tutorials
In those tutorials, I'll introduce you to the most basic things you should know about FORTRAN:
- How to write a quick Hello World Script
- How to compile it
- How to use variables and define functions
- and much more...
[Fortran Tuto 10] Formatting the print
In this tutorial, I will teach you how to format the text given by the print function I will talk about: – How to offset the data printed – How to arrange the data in several columns – How to display only a certain number of digits after the comma Enjoy ;-) -Cyprien
[Fortran Tuto 9] Dimension Arrays
In this tutorial, I will teach you how to work with arrays of several dimensions I will talk about: – How to declare an array – How to assign variables to the components of the array – How to write arrays which can be expended to register more data – How to print out arrays […]
[Fortran Tuto 8] Handling Precision
In this tutorial, I will teach you how to use handle precision in your fortran programs. I will talk about: – What happens when you use a simple “real” variable – How to set up the precision of a variable —————————————————————————————–
[Fortran Tuto 7] Data Tables
In this tutorial, I will teach you how to create a simple program in Fortran which writes a table of data to a file I will talk about: – How to make a simple calculation – How to print it out to a file – How to use a do loop to print data as […]
[ Fortran Tuto 6] Opening and Writing Text Files
In this tutorial, I will teach you how work with text files! I will talk about: – How to read the content of a text file – How to write inside a text file Enjoy ;-) -Cyprien ————————————————————————————————————-