Path: utzoo!attcan!uunet!mailrus!cs.utexas.edu!samsung!munnari.oz.au!bruce!goanna!ok From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.lang.fortran Subject: Re: problem with "pe" format Message-ID: <3148@goanna.cs.rmit.oz.au> Date: 5 Jun 90 00:19:31 GMT References: <90155.122858GL4@psuvm.psu.edu> Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 17 In article <90155.122858GL4@psuvm.psu.edu>, GL4@psuvm.psu.edu writes: * x=1.11 * fs=10.0 * write(*,32) x,fs * 32 format(1pe13.3,f10.1) * --------------------------------------------- * 1.111E+00 100.0 ^^^^^ I hope this was really 1.11 "p" isn't a modifier on a single format, but a formatting command in its own right, whose effect persists within the same format until you explicitly reset it. Blank and sign handling are similar. That's the way it's supposed to be. -- "A 7th class of programs, correct in every way, is believed to exist by a few computer scientists. However, no example could be found to include here."