Re: Fortran Error Problem
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Tue, 28 Nov 2006 09:52:35 -0800
glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx> wrote:
highegg wrote:
a DIMENSION declaration is missing for X. The compiler assumes that X
is an external function and complains at link stage that it is missing.
I have seen this happen in a subroutine, where an array is used but
never assigned a value, in which case Fortran considers it a function
as an actual argument.
I don't think I believe you. Well, more like I do believe you, but I
think your description is potentially misleading. It can be read to
imply that failing to assign a value can cause this error. Let us be
clear that all forms of this error come from failing to dimension the
array - not from any other cause. Matters like how the array is used
change the symptoms of the error, but are not the actual cause.
--
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: Fortran Error Problem
- From: glen herrmannsfeldt
- Re: Fortran Error Problem
- References:
- Fortran Error Problem
- From: engrzia76
- Re: Fortran Error Problem
- From: engrzia76
- Re: Fortran Error Problem
- From: highegg
- Re: Fortran Error Problem
- From: glen herrmannsfeldt
- Fortran Error Problem
- Prev by Date: Re: defining an arbitrary type in your newer Fortrans
- Next by Date: Re: Fortran Error Problem
- Previous by thread: Re: Fortran Error Problem
- Next by thread: Re: Fortran Error Problem
- Index(es):
Relevant Pages
|