For Programmers: Free Programming Magazines  


Home > Archive > Fortran > November 2005 > Re: TRIM









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: TRIM
Dan Nagle

2005-11-18, 3:57 am

Hello,

robin wrote:

<snip>

> For the record, here's a text:
> R. J. Herbst: "Software Design using Fortran 77", 1990.
> p. 85: ".. no guarantee that the value of i (lcv) will be available after the loop executes."


This is in error, please read the Fortran 77 standard,
section 11.10.7, as the definitive source.

The loop variable has a well-defined value after loop termination,
one increment beyond the last value it had during loop execution.
This is also true of later revisions of the Fortran standard.

--
Cheers!

Dan Nagle
Purple Sage Computing Solutions, Inc.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com