Google Groups Home
Help | Sign in
Message from discussion WRITE without newline?
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
Peter Smulders  
View profile
 More options May 27 1998, 3:00 am
Newsgroups: comp.lang.fortran
From: Peter Smulders <pe...@nvsf2.phys.rug.nl>
Date: 1998/05/27
Subject: Re: [Q] WRITE without newline?

Steven G. Johnson <stev...@alum.mit.edu> wrote:

> This is a very simple question I'm sure, but I don't have a Fortran manual
> and I need to modify some of our code.
> How do you do the equivalent of a WRITE statement without appending a
> newline?  I want to do several disjoint WRITE's that output onto the same
> line.

Don't be too sure! What you want is not a standard ANSI 77 feature,
but a widely available extension is the $ edit descriptor.
Terminating the format specification with a $ causes the cursor
to remain on the same line in such a Fortran.
--
Peter

    Reply to author    Forward  
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.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google