[fitsbits] top or bottom

Clive Page cgp at nospam.le.ac.uk
Mon May 8 08:40:39 EDT 2000


>
>On Thu 2000/05/04 09:06:45 +0100, Patrick Wallace wrote
>in a message to: fitsbits at nrao.edu
>
>>Perhaps I've misunderstood both Mark's original point and the Fortran 90
>>feature being demonstrated by Stephen, but wasn't the solution present in
>>earlier Fortrans, in the form of the "adjustable dimension" feature?  It
>>was certainly there in Fortran IV (ANSI X3.9-1966).

But this only allows you to adjust them within the bounds of what has been
defined elsewhere, so only limited adjustability.

In article <200005080104.LAA10495 at grus.atnf.csiro.au>,
Mark Calabretta  <Mark.Calabretta at atnf.csiro.au> wrote:
>There were two points,
[snip]
>I'm not familiar with FORTRAN 90.  Perhaps someone can say whether it
>allows adjustable arrays inside data structures.

It allows pointer arrays inside data structures, the actual size of which
may be specified within the calling or called routine (but pointer arrays
are mildly more difficult to declare and initialise).

Fortran2002 will allow allocatable arrays within data structures, according
to the best authorities.  Since Fortran2002 will also drag the language
kicking and screaming into the object-oriented era, I'm sure you will
welcome it. :-)

-- 
-- 
Clive Page,
Dept of Physics & Astronomy,               
University of Leicester.                   



More information about the fitsbits mailing list