Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!uunet!munnari.oz.au!diemen!sol!quan From: quan@sol.surv.utas.edu.au (Stephen Quan) Newsgroups: comp.lang.fortran Subject: Left justify of integers. Message-ID: Date: 31 May 91 01:24:47 GMT Sender: news@diemen.utas.edu.au Distribution: comp Lines: 21 I'm having a slight, almost trivial problem, I cannot write integers without them being right justified. eg write (*,*) 5 gives ......5 (. are leading spaces) Is there some format statement (i1.1 or something) that will solve this problem? I want a general solution, not just : write (*,'(i1)') 5 -- quan@sol.surv.utas.edu.au (Stephen Quan) Department of Surveying (I'm actually a computer scientist.) University of Tasmania. -- quan@sol.surv.utas.edu.au (Stephen Quan)