Re: Getting information about Fortran95 structures
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Mon, 18 Feb 2008 08:58:56 -0800
<McKinldj@xxxxxxxxxxxxxxxx> wrote:
Does anyone know any techniques for decomposing the information about
a Fortran 95 structure? That is, deriving information about the fields
in the structure, their data types, dimensions, etc.?
This question needs more context. But answering what I reasonably can..
The "normal" way is so obvious that I'm guessing it couldn't be what you
are asking about. But just in case I'm wrong... That would be to look at
the type declaration in the source code. For details, I refer to any
Fortran text; it isn't worth the work to detail here (particularly given
the odds that you might not even read it - see below).
If you are trying to deduce such information without having the source
code, the answer is basically no - you can't do that. I can imagine
multiple contexts where such a question might come up, but the answers
range from a flat "no" to "maybe, but that would be completely compiler
dependent." The "maybe" answers would mostly have to do with using
debuggers rather than anything in Fortran code.
Please respond directly to[email address]
No. I provide help on usenet for free, partly because it can help
multiple people, both those reading now and those future people
searching the archives. If I did private consulting, it would be for a
fee (and I haven't even bothered to figure out what I'd charge, but it
would be typical of professional consulting rates, which aren't cheap).
No, copying an answer both here and to an email is not adequate either.
That's particularly so when as is evident here, a useful answer will
require a bit of iteration to get more information.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- Follow-Ups:
- Re: Getting information about Fortran95 structures
- From: Richard Maine
- Re: Getting information about Fortran95 structures
- References:
- Getting information about Fortran95 structures
- From: McKinldj
- Getting information about Fortran95 structures
- Prev by Date: Re: Is anyone using Intel Fortran under Mac OS X
- Next by Date: Re: Getting information about Fortran95 structures
- Previous by thread: Getting information about Fortran95 structures
- Next by thread: Re: Getting information about Fortran95 structures
- Index(es):
Relevant Pages
|