Re: undefined variable problem



Bart Vandewoestyne wrote:

(snip)

Could it be that the NAGWare f95 compiler was smart enough to
detect that the *upper triangular part* of the rank2 array
(matrix) that I was using was not initialised and therefore
reported the error?

There have been reports of systems that do that, though I don't
know how they were implemented. For floating point there is
the signaling NaN which is supposed to generate a hardware
interrupt when it is used. For integer there are normally
no extra values that can be used, though on systems with
negative zero that is sometimes used.

-- glen

.



Relevant Pages