Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!njin!princeton!lemmy.Princeton.EDU!hsbrown From: hsbrown@lemmy.Princeton.EDU (Scott Brown) Newsgroups: comp.lang.fortran Subject: integer variable format address Message-ID: <6769@idunno.Princeton.EDU> Date: 1 Mar 91 23:05:46 GMT Sender: news@idunno.Princeton.EDU Reply-To: hsbrown@lemmy.Princeton.EDU (Scott Brown) Organization: Princeton University Lines: 16 What is wrong with the following program? program test integer k k=1 write(*,k) 1 format('here is line 1') end I have two FORTRAN books that suggest the write(*,k) statement should work. I have two FORTRAN compilers that give a bus error. Any ideas would be appreciated. Scott Brown (hsbrown@lemmy.princeton.edu)