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 provide several output results, and thus they are generally more useful.
(Fortran also has the “function” command”)
Enjoy ;-)
-Cyprien
————————————————————————————————————————————————–
Jack says
Nice tutorials.