Re: defining an arbitrary type in your newer Fortrans



I've never used C, but the Pascal/Delphi user defined type works well, but
then again Pascal is a very strongly typed and the user defined types are a
cornerstone of the language. I guess, Fortran is too weakly typed for the
full benefits of user type definitions to be realised.

If they were available in Fortran, I would use them mainly for sprinkling a
bit of sytactic salt on my code, in particular for things like type safe
enumerations. But I don't think this sort of thing would be a priority for
many other Fortranners.

Paul Holden


.