Clive Page wrote:
> I quite agree. I apologise if I haven't been keeping up at the back, but
> I'm still slightly confused about what F2002 is going to bring us. At
> present (in F95) there are three main circumstances in which you need to
> use pointers:
> 1. When you _really_ want a pointer, e.g. for a linked-list.
> 2. When you want an allocatable component of a derived type.
> 3. When you want to hand an array over as an actual arg to return filled
> but don't know how many values will be returned so you can't allocate
> it in advance.
> F2002 solves (2), does it also solve (3)?
I'm coming a bit late in this conversation (been attending a workshop at
the UK Met. Office the last few days) - but isn't (1) just a specific
example of (2) ?
--
Toon Moene - mailto:[log in to unmask] - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|