Dick Hendrickson wrote:
> the process of execution termination
> shall include the effect of executing the C exit() function
> (C International Standard 7.20.4.3)."
> So, I'd say that executing a STOP does whatever an
> end program statement does.
OK, I guess the intention here is that (I assume this is already done)
Fortran RTL cleanup operations (mostly files) be atexit callbacks
registered by the compiler at startup. I wonder if I can register my
own exit callbacks and whether they are called upon executing
STOP...let me go and try :-)
Thanks,
Aleks
|