From: Christoph Kukulies Message-Id: <199704031932.VAA03359@gilberto.physik.rwth-aachen.de> Subject: Re: PARAMETER not accepted by G77 In-Reply-To: <3343D44C.167E@fina.be> from Denis Mignon at "Apr 3, 97 06:01:16 pm" To: denis DOT mignon AT fina DOT be (Denis Mignon) Date: Thu, 3 Apr 1997 21:32:20 +0200 (MET DST) Cc: djgpp AT delorie DOT com Reply-To: Christoph Kukulies MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Actually, I have found the explanation to this problem I had posted > myself previously: with the compiler f77 I used on the UNIX machine, a > PARAMETER statement would look like > PARAMETER NCOMP=11 Note that the above way of writing is *not* strict f77 (p. 8-8 of the ANSI X3.9-1978 Standard). so g77 is correct in this case and f77 - from which I usually expect more strictness - is a bit lax on this. On the other hand g77 is more tolerant on statement ordering (positioning of DATA statements) where f77 is very strict. > To be accepted by G77, it must be written > PARAMETER (NCOMP=1) > > I hope this can help others. > -- > ================================================ > Denis Mignon > email : denis DOT mignon AT fina DOT be > ================================================ > -- Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de