Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site bnl.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!cmcl2!philabs!sbcs!bnl44!bnl!stern From: stern@bnl.UUCP (Eric G. Stern) Newsgroups: net.lang.f77 Subject: Re: (do) while loops Message-ID: <165@bnl.UUCP> Date: Tue, 29-Oct-85 21:40:41 EST Article-I.D.: bnl.165 Posted: Tue Oct 29 21:40:41 1985 Date-Received: Sun, 3-Nov-85 09:32:17 EST References: <144@oberon.UUCP> <5080001@acf4.UUCP> Organization: Physics, SUNY StonyBrook Lines: 17 > Most DEC compilers extend the underlying langauge to make it usable for > system programming and comply with the requirements of various U.S. > government standards that extend the ANSI and ISO language standards. > > All DEC compilers which I have seen that extend a language have a > switch ( usually /STANDARD) which causes the compiler to treat these > extensions as (minor) errors and inform the user. People writing > portable code should always specify such a flag. Failing to do so is > like not 'lint'-ing one's C programs under Unix if you plan to port > them elsewhere. The FORTRAN manual also documents all language extensions in blue. It's no great trick to program in standard FORTRAN on VMS. Just stay away from the blue features. Eric G. Stern