On 2009-04-27 08:46, Andrew Ross wrote:
> On Mon, Apr 27, 2009 at 08:34:32AM +0200, Arjen Markus wrote:
>>>
>> That must have been a really really old and buggy version of gfortran:
>> as already explained, the exit statement in Fortran 90/95 is the
>> equivalent of C's break in a loop (and cycle is the equivalent of
>> C's continue in a loop). I can hardly imagine that any official version
>> of gfortran would not have gotten that rather basic feature right.
> 
> Arjen,
> 
> It turned out to be more complicated than that. Exit was implemented but 
> there was a bug if you used that after already using the exit intrinsic 
> to exit the program. See my workaround from yesterday.
> 

Hi Andrew,

I see ... but subroutine exit() is not an official intrinsic subroutine.
I think it is particular to gfortran/g77/g95. This could cause trouble
for other compilers (or they may supply similar routines). I will have
to check it (*), but I am not overly enthousiastic about such
extensions, however common. (Fortran programs normally exit with a zero
status anyway).

Regards,

Arjen

(*) ifort under Linux accepts it as does my more or less ancient CVF
compiler. Those are the non-GNU-decendent compilers I have easy access 
to. So I guess this will work ...


Delft Hydraulics, GeoDelft, the Subsurface and Groundwater unit of TNO and 
parts of Rijkswaterstaat have joined forces in a new independent institute for 
delta technology, Deltares. Deltares combines knowledge and experience in the 
field of water, soil and the subsurface. We provide innovative solutions to 
make living in deltas, coastal areas and river basins safe, clean and 
sustainable. 

 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.





------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to