Here we present some codes to learn the structure and first useful commands in Fortran 90 language
Code | Content |
---|---|
code0_structure.f90 | We introduce the standard structure used in all codes in Fortran 90 programming language |
code1_variable | We display how to declare and handle variables like 'integer','real', 'complex' and 'array' (vector and matrix) |
code2_functions.f90 | We introduce how to use 'functions' to make our codes more efficient |
code3_routines.f90 | We introduce how to use 'subroutines' to make our codes more efficient, even more than 'functions' |
code4_loops.f90 | We display the most usual structures of iteration and decision, like 'do', 'do while', 'else', 'if' and 'continue' |
code5_write-read_files.f90 | We show how to write and to read data in 'txt', '.fort' extensions and even at the 'terminal' |
code6_modules.f90 | We present how to use global variables using the structure 'module' |