From owner-sc22wg5@dkuug.dk  Sat Dec  6 03:01:53 2003
Received: (from majordom@localhost)
	by dkuug.dk (8.12.10/8.9.2) id hB621rYT070363
	for sc22wg5-domo; Sat, 6 Dec 2003 03:01:53 +0100 (CET)
	(envelope-from owner-sc22wg5@dkuug.dk)
X-Authentication-Warning: ptah.dkuug.dk: majordom set sender to owner-sc22wg5@dkuug.dk using -f
Received: from mail1.cray.com (mail1.cray.com [136.162.0.111])
	by dkuug.dk (8.12.10/8.9.2) with ESMTP id hB621dEt070346
	for <sc22wg5@dkuug.dk>; Sat, 6 Dec 2003 03:01:44 +0100 (CET)
	(envelope-from longb@cray.com)
Received: from relayb.mw.cray.com (relayb.us.cray.com [192.168.252.110])
	by mail1.cray.com (8.12.10/8.12.10/gw-1.2) with ESMTP id hB622Q7W029807;
	Fri, 5 Dec 2003 20:02:26 -0600 (CST)
Received: from saffron.us.cray.com (saffron.mw.cray.com [172.31.27.14])
	by relayb.mw.cray.com (8.12.10/8.12.10/hub-1.3) with ESMTP id hB622P4k026098;
	Fri, 5 Dec 2003 20:02:25 -0600 (CST)
Received: from cray.com (mh-dhcp-172-31-20-113 [172.31.20.113])
	by saffron.us.cray.com (8.12.10/8.12.8/badger-1.4) with ESMTP id hB622OgJ879571;
	Fri, 5 Dec 2003 20:02:24 -0600 (CST)
Message-ID: <3FD13AE2.9040704@cray.com>
Date: Fri, 05 Dec 2003 20:11:46 -0600
From: Bill Long <longb@cray.com>
Reply-To: longb@cray.com
Organization: Cray Inc.
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 Netscape/7.1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Walt Brainerd <walt@fortran.com>
CC: wg5 sc22 <sc22wg5@dkuug.dk>
Subject: Re: (SC22WG5.3067) Q about spaces in * output
References: <200312052255.hB5Mtg9b066247@dkuug.dk>
In-Reply-To: <200312052255.hB5Mtg9b066247@dkuug.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Cray-VirusStatus: clean
X-Spam-Score: 0 () 
Sender: owner-sc22wg5@dkuug.dk
Precedence: bulk



Walt Brainerd wrote:

> The F2003 standard says that for list-directed
> output, the first column of the output must
> be a space.
>
....

>
>
>
> So is the following program supposed to put
> a space between the two Xs or not? 


I would say no.  When you execute the print statement you are not at the 
beginning of the output record.

Cheers,
Bill


>
>
>
> program spaces
> write (unit=*, fmt="(a)", advance="no") "X"
> print *, "X"
> end program spaces
>

-- 
Bill Long                                   longb@cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            


