Alvaro Agustin Fernandex wrote:
> My question is: Was UNION a common Fortran 77 extension?
> Would using it doom a code to runing on only a few platforms? I have
> seen dynamic polymorphism implemented using a subtype approach with
> pointers, but it seems UNION would be more economical of storage in
> certain cases.
UNION is part of the STRUCTURE/RECORD extension we invented for VAX FORTRAN
V4 in 1985. It has since been widely copied, but isn't universal,
especially among some Fortran 90 vendors. There is no direct equivalent in
Fortran 90.
Steve Lionel mailto:[log in to unmask]
DIGITAL Fortran Development http://www.digital.com/info/slionel.html
Compaq Computer Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
DIGITAL Fortran web site: http://www.digital.com/fortran
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|