Drew McCormack wrote:
> Anyway, it seems I will have to wait another 5 years for some decent
> f2003 compilers, or just bite the C bullet ;-)
As some others have mentioned, there do exist compilers with extensions
that can do most of what you want. The Compaq compilers, in particular,
support not only the popular "Cray Pointer" extension, but also allow
you to call a procedure whose address is in such a pointer (this last
extension is not common.) So you can have an array of integer pointers,
select the element you want and call the routine through the pointer.
It's a bit clumsier than the equivalent C code would be, but it does
work.
Also using extensions (more widely implemented), you can pass a
stored/computed routine address as an actual argument and have the
called procedure call through that argument.
It is not clear to me that F200X will end up with exactly the feature
set you desire.
Steve Lionel
Software Products Development
Intel Corporation
Nashua, NH
|