3 ms·
The language enforced difference is that only functions can return a value, but other than that, they are quite similar and just called "procedures" generally.
by atrettel 10mo ago
The language enforced difference is that only functions can return a value, but other than that, they are quite similar and just called "procedures" generally. In my experience, Fortran programmers use them differently in practice, and that is more of a guideline than something enforced by the language itself.