Alvaro Fernandez writes:
> Some of the early Sun compilers did not reliably in my experience obey this
> rule, so I was forced at times to redeclare subroutines even though they
> were ostensibly already in the scope. I wanted to verify that that was a
> compiler problem.
I still don't know what you mean by "redeclare subroutines". This
doesn't make much sense. It would be helpful to hear exactly
what you do mean. If you mean that you had to add external
statements or interface bodies, then that is *VERY* puzzling - it
should have *PREVENTED* the code from working. That's the closest
thing I can imagine as meaning "redeclare subroutines" (unless you
mean that you had to copy the entire subroutine). If you mean that
you had to add PUBLIC declarations, then that might make more
sense as a compiler bug, but that is only declaring one attribute
of the subroutine - it confuses me to refer to that as redeclaring
the subroutine.
--
Richard Maine | Good judgment comes from experience;
[log in to unmask] | experience comes from bad judgment.
| -- Mark Twain
|