On 30 Mar 2000, Ted Stern wrote:
> >>>>> Peter Shenkin writes:
> Peter> So when malloc() returns NULL on your system, or ALLOCATE returns a
> Peter> "failed" status, is there no way to print a message telling the
> Peter> user that this happened?
>
> That is in no way implied by what I said. Yes, there is a way -- the
> programmer can check the return code of malloc or the STAT variable in
> ALLOCATE.
That's good. Fortran supplies us with a way to do that. That's
necessary and sufficient.
What we need is a way to do the analogous thing when automatic array
allocation fails.
> Should compiler writers (and I am not one) be obliged to bloat
> memory management handling to aid those who don't appear to be qualified to
> use supercomputers?
Huh?
-P.
--
** Whether the playing field is level depends on the coordinate system. ***
********* Peter S. Shenkin; Schrodinger, Inc.; (201)433-2014 x111 *********
*********** [log in to unmask]; http://www.schrodinger.com ***********
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|