The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.fortran
From: LC's No-Spam Newsreading account <nos...@ifctr.mi.cnr.it>
Date: 1998/06/01
Subject: Re: [Q] WRITE without newline?
On Fri, 29 May 1998 ARyabt...@my-dejanews.com wrote: > > > How do you do the equivalent of a WRITE statement without appending a The + (1H+ for those who remember Hollerith codes) is a feature intended > > > newline? I want to do several disjoint WRITE's that output onto the same > > > line. > > write (*,'(A,2x,I5)') '+ Number= ', i > Yes! it'll be print on the same line but from the begining of the line! for old printers (and need a print filter to work on modern one), and I won't really regret if this one REALLY goes on the OBSOLESCENT or OBSOLETE list. > I think, the question was how to continue printing on the same line. Most Unix (Sun Ultrix DU=OSF HP-UX) and VMS use $. > It is depend on compiler. For example MS Fortran use back slash format > 1000 FORMAT(' Input value for I - ' \) > As I remeber some other compiler use '$' instead '\' Old HP RTE used underscore I believe Fortran 90 has a NOADVANCE option to handle this standardly. ---------------------------------------------------------------------- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||