Equivalence inside of a derived type is called an untagged variant in Ada.
Pascal has a similar concept, but I've forgotten the term for it. I
don't know whether an equivalent facility was ever proposed for Fortran,
but it certainly wasn't on the list of proposals for the next revision.
--
Van Snyder | What fraction of Americans believe
[log in to unmask] | Wrestling is real and NASA is fake?
Any alleged opinions are my own and have not been approved or disapproved
by JPL, CalTech, NASA, Sean O'Keefe, George Bush, the Pope, or anybody else.
|