Fortran function remembers values (newbie help)

I concur, that’s my experience as well. In fact, I tried to put in on the map of true modern Fortran somehow.

However, let’s be honest: being things as they are, going through the standard route, implicit save will be “fixed” when some (many?) of us will be retired (if Fortran will be still a thing)… and I personally see it as the best case scenario. Life’s too short: I think we need to go through the compiler extension route and it is currently not available.