(j3.2006) Public Comment J32036 (Submodules)
Robert Corbett
Robert.Corbett
Wed Jul 9 20:46:26 EDT 2008
Bill Long wrote:
>
> Michael Ingrassia wrote:
>
>>>As for the third of the "advantages" of submodules, nesting
>>>of scopes to any depth, is something that I believe the
>>>language shouldn't support.
>>>
>>
>>Setting a definite limit in nesting depth (looks like 3 would
>>handle the examples in ISO/IEC TR 19767:2004(E) ?)
>>would promote portability, if as I expect every implementation will have
>>some nesting depth which is practically unattainable, just as DO loops
>>may not be infinitely nestable.
>>
>
>
> At yet the lack of a limit on DO loops has not crippled portability.
Once upon a time, it did. The original AT&T f77 compiler had a low
limit on the nesting of structured control statements (DO-loops and
block IF constructs). I recall increasing the limit to 25 in
Berkeley Optimizing Fortran (xf77) because of complaints from users.
Bob Corbett
More information about the J3
mailing list