Gaz,
You actually provide another reason why using commas between slashes is
a good idea.
In the format statement
1000 Format (2x, 'Printed with'//'double '//'spacing')
// is not the character concatenation operator but rather results in two
line breaks.
And, by the way, I'm not having a slash :o)
Regards,
David.
[log in to unmask] wrote:
>
> Mike
>
> (... presumably because the '//' is the character concatenation operator.)
>
> Are you guys serious ... or just 'having a slash' at everyone's expense.
>
> Gaz
>
> -----Original Message-----
> From: Michael Metcalf [mailto:[log in to unmask]]
> Sent: Wednesday, 27 June 2001 5:33 PM
> To: [log in to unmask]
> Subject: Re: Slash etiquette ...
>
> Message text written by Fortran 90 List
> >I tend to agree that 1000 is "better" style, but if there are
> multiple slashes, probably something like:
> 1000 Format (2x, "Printed with",//, "double ",//, "spacing")<
>
> Fine, but please note that, whereas the comma is optional for slashes
> without a repeat count, they are required if there is one:
>
> 1000 Format (2x, "Printed with",2/, "double ",2/, "spacing") !
> commas mandatory
>
> ("Fortran 90/95 Explained", Section 9.13.5).
>
> Regards,
>
> Mike Metcalf
>
> ************************************************************************
> The information in this e-mail together with any attachments is
> intended only for the person or entity to which it is addressed
> and may contain confidential and/or privileged material.
>
> Any form of review, disclosure, modification, distribution
> and/or publication of this e-mail message is prohibited.
>
> If you have received this message in error, you are asked to
> inform the sender as quickly as possible and delete this message
> and any copies of this message from your computer and/or your
> computer system network.
> ************************************************************************
|