Re: Implementing JAVA interfaces in FORTRAN 20xx
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Mon, 25 Aug 2008 16:17:22 -0800
e p chandler wrote:
(snip)
Please explain how this does any real good in Fortran at all. As I
understand it, you can not pass an array of integers to a routine
which expects an array of elements, each of which is of derived type,
each of which consists only of an integer.
In Java, you can't have arrays of objects, but only
arrays of object reference variables. The closest you
would get in Fortran would be arrays of pointers.
Oops, no arrays of pointers, arrays of structures
containing pointers.
Now, can you use a pointer to integer equivalently
to a pointer to a structure containing only an
integer? Or one with the integer at the beginning?
-- glen
.
- Follow-Ups:
- Re: Implementing JAVA interfaces in FORTRAN 20xx
- From: e p chandler
- Re: Implementing JAVA interfaces in FORTRAN 20xx
- References:
- Re: Implementing JAVA interfaces in FORTRAN 20xx
- From: fj
- Re: Implementing JAVA interfaces in FORTRAN 20xx
- From: fj
- Re: Implementing JAVA interfaces in FORTRAN 20xx
- From: e p chandler
- Re: Implementing JAVA interfaces in FORTRAN 20xx
- Prev by Date: Re: Surprise
- Next by Date: Re: Surprise
- Previous by thread: Re: Implementing JAVA interfaces in FORTRAN 20xx
- Next by thread: Re: Implementing JAVA interfaces in FORTRAN 20xx
- Index(es):
Relevant Pages
|