[log in to unmask] wrote:
> > > It seems to me that any non-SAVEd module variable could
> > > be declared locally in the subroutines. So why SAVE is not the
> > > default status of module variables?
> > I don't know of any INTENT_IS_NOT_SAVED Fortran attribute, so
> > I don't think that we can accept defaults that can not be changed.
and <Pierre Hugonnet> [log in to unmask] wrote:
> A VOLATILE (for example) attribute could be defined
VOLATILE is in the current F2000 draft, but for a different purpose:
It means that the value of a variable might change for some reason other
than the flow of control in the Fortran program, e.g. by an interrupt or
by a different process or processor.
Best regards,
Van Snyder
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|