Array constructors
Array constructors can contain implied do loops.
integer, dimension(10) :: a = [(i, i=1, 10)]
integer, dimension(10) :: b = [123, (i*2, i=1, 9)]
Use implicit types
If a variable is not declared with an explicit type, the Fortran compiler will determine the type by the first letter of the variable name:
- A-- H,- O-- Z:- REAL
- I-- N:- INTEGER
j = 1 ! INTEGER
x = 1 ! REAL
print *,j ! 1 
print *,x ! 1.00000000
end