home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!nntp.msstate.edu!Ra.MsState.Edu!nn1
- From: nn1@Ra.MsState.Edu (N. Narenthiran)
- Newsgroups: comp.lang.fortran
- Subject: Re: Variable repeat count specifier for FORMAT statments
- Message-ID: <nn1.712013604@Ra.MsState.Edu>
- Date: 24 Jul 92 21:33:24 GMT
- References: <1992Jul23.215113.16531@jhunix.hcf.jhu.edu> <1992Jul24.012058.21162@ncsa.uiuc.edu>
- Sender: news@ra.msstate.edu
- Distribution: na
- Organization: Mississippi State University
- Lines: 21
- Nntp-Posting-Host: ra.msstate.edu
-
- hirchert@ncsa.uiuc.edu (Kurt Hirchert) writes:
-
- >In article <1992Jul23.215113.16531@jhunix.hcf.jhu.edu> psun@jhunix.hcf.jhu.edu (Peter Sun) writes:
- {..deleted..}
- >situations, I would build the format on the fly:
- {..deleted..}
- > character*80 fmt
- > ...
- > write (fmt,'(a,i3,a)') '(',n,'(I8))'
- > write (*,fmt) whatever_it_is_you_wanted_to_write
- {..deleted..}
- >--
- >Kurt W. Hirchert hirchert@ncsa.uiuc.edu
- >National Center for Supercomputing Applications
-
- But,
- Is the statement WRITE (*,FMT='(I5)') I standard conforming or not?
- If it is, is it ok to name a character string as FMT?
-
- have a nice day.
- naren.
-