Re: IMPLICIT NONE (F2k8+/-)



Gary L. Scott wrote:
> IMPLICIT NONE should finally be made default beginning at F2k8.
> Compiler switches can be specified to get the older behavior. There
> is absolutely no good reason to continue this way.

I have top admit to being bored by this discussion of IMPLICIT NONE.
What we really need is some way of forcing explicit declaration of all
variables, subroutines and functions that might otherwise be imported
from modules without explicit declaration... this would at least give
IMPLICIT NONE a chance of catching all that a user would expect it to
catch.

I suggest SCOPE NONE. "Obviously" this should be made the default as
part of the standard ... that way we can achieve our ambition of
ensure that declaration sections of programs are at least twp hundred
and fifty three times as long as any exectable section. ;-)

David Jones


.



Relevant Pages

  • Re: Symbols in function return specifiers
    ... I hate that style of function declaration, ... prefix interpreted in the IMPLICIT context of the function? ... You can't generalize special-case rules as though they were general ... expression is typed by the implicit typing rules, ...
    (comp.lang.fortran)
  • Re: Origin and History of Dot Syntax
    ... There is no such thing as an "implicit ... informally but it is not terminology used in the language definition, ... p is a const pointer to something. ... I don't remember seeing a proposal of how a more conventional declaration ...
    (comp.lang.c)
  • Re: Symbols in function return specifiers
    ... junk if the standard says so. ... prefix interpreted in the IMPLICIT context of the function? ... parameters, if any, specified by a previous declaration in the same ... expression is typed by the implicit typing rules, ...
    (comp.lang.fortran)
  • Re: Symbols in function return specifiers
    ... OTHERWISE the name has a type given by an explicit declaration. ... Thus, for this above IMPLICIT statement, the name XY would be of type REAL, ... expression is typed by the implicit typing rules, ...
    (comp.lang.fortran)
  • Re: Proposal: NOEXTERNAL
    ... Require an explicit external declaration for implicit interfaces. ...
    (comp.lang.fortran)