Remix.run Logo
▲ hermitcrab 8 hours ago

I believe it has changed quite a lot, keeping its focus for scientific/engineering computing, but adapting more modern language constructs. I'm not sure how much of the archaic stuff (COMMON blocks, ENTRY points etc) is supported in the more recent standards for backward compatibility.

▲jleyank 6 hours ago | parent [-]

Aren't COMMON's implemented as static structures? Stuff that's accessible from multiple functions - except that Fortran requires explicit rather than implicit reference.

▲hermitcrab 6 hours ago | parent [-]

It is way of sharing variable values without using parameters. But it is ugly and easy to make errors, e.g. accidentally missing a variable out of the middle of the list in one function or subroutine means all the later variables have unexpected values.

It is a log time since I did any FORTRAN. Maybe they improved it?