>>103215951
I'm a caveman who indents his own code manually. Below, for other interested Anons, some basic Fortran syntax:
--
! This is single line comment in Fortran.
! Ifs
if (X) then
...
else
...
end if
! Switches
[name:] select case (X)
case A
...
case B
...
case default
...
end select [name]
! Loops
do i = start, stop [,step]
...
end do
! Functions
function name (arguments)
...
end function [name]
I'm not here to shill it, but I think it's readable, it reminds me of assembly in some ways, and of Python in other ways.
Also, I suggest everyone interested to use 'gfortran' compiler, not 'flang' (LLVM Fortran) compiler.
Also, I hope no one here will buy proprietary Fortran compiler... Intel and AMD have major ones, other companies minor ones.
--
Fortran might be the only language that was exclusively used by white men, no spooks, goons, pajeets or tr*nnies.