ARGH. Who wrote intrinsic_set_exponent.f90?
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon Aug 28 20:59:00 GMT 2006
On Mon, Aug 28, 2006 at 04:30:21PM -0400, Jack Howarth wrote:
> This may be a stupid question but what is the utility
> of having equivalence between different type variables
> if one becomes undefined every time the other is assigned?
> The only reason I can imagine is to allow the same memory
> to be reused for two different data types. However that
> doesn't seem quite as useful these days with large amounts
> of ram being typical.
Bingo. We have a winner. EQUIVALENCE allowed for the
re-use of memory, and you go to the Fortran 66 standard
to read section 7.2.1.4. I haven't looked to see if
F66 has the concept of defined and undefined variables.
--
Steve
More information about the Fortran
mailing list