Re: Fortran Error Problem
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 19:32:28 +0000 (UTC)
Richard Maine <nospam@xxxxxxxxxxxxx> wrote:
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.
Right. But assigning to an undimensioned array is usually a
compilation error such that no object file is generated. One then
won't actually get to the point of running the program, and
won't cause an undefined external symbol. (Unless it isn't fatal,
and is also used on the right side of an assignment, or other place
where a function call can go.)
The combination of not initializing the array and also not
dimensioning it is unusual, not either one separately.
-- glen
.
- 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
- Re: Fortran Error Problem
- From: Richard Maine
- Fortran Error Problem
- Prev by Date: Re: random numbers in fortran
- Next by Date: Re: random numbers in fortran
- Previous by thread: Re: Fortran Error Problem
- Next by thread: Re: Fortran Error Problem
- Index(es):
Relevant Pages
|