>From: Walt Brainerd <[log in to unmask]>
>To: [log in to unmask], [log in to unmask]
>Subject: Re: Another 2 cents worth - for implicit typing
>This is exactly what implicit none does, isn't it?
>
>===
>A simple Flag that will list out ALL IMPLICITLY typed
>variables is ALL that is required to make implicit typing
>'safe'.
First Off, Mr. Brainerd, its an honor to correspond with you
given what you have done for Fortran so far. It would truly be
sad if the C-barbarians triumph and Fortran either dies or
transmogrifies into a mongrel that is neither suitable for
pure quantitative computing nor for general purpose coding.
But what I meant about my flag was old-style code without
any IMPLICIT declarations - that would be compiled with the
usual I,J,K,L,M,N = integer and all else real for ALL
NON-EXPLICITLY typed variables.
If the programmer feels 'safe' that he/she doesn't have a
no-show-count and a no-show-cnt both sitting in his code
when they should both be the same - he/she blithely goes on.
But if he/she wants to KNOW all the variables that were implicitly
typed in a successful compilation, he/she would re-compile with the flag on
and the compiler will tell him/her about these two variables.
Once again - thank you for all the work you have done on behalf
of Fortran.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|