Re: backslash-issues
- From: Bart Vandewoestyne <MyFirstName.MyLastName@xxxxxxxxxx>
- Date: Thu, 30 Jun 2005 21:09:08 +0000 (UTC)
On 2005-06-30, Clive Page <junk@xxxxxxxxxxxxxxxx> wrote:
>
>>CHARACTER(LEN=1), PARAMETER :: backslash='\\'
>
> While I'm not sure who thought of that first, I think I may have made
> that posting. I've certainly used it for some years on a variety of
> compilers and never found one where it didn't do the job. Unless
> someone else knows of a counter-example.
If you are trying to also keep your code F-compliant, than the above
trick does not work. The problem is in the len=1 which must become
len=* in F. And this breaks the whole idea of the trick...
Regards,
Bart
--
"Share what you know. Learn what you don't."
.
- References:
- backslash-issues
- From: Bart Vandewoestyne
- Re: backslash-issues
- From: Bart Vandewoestyne
- Re: backslash-issues
- From: Joost
- Re: backslash-issues
- From: Clive Page
- backslash-issues
- Prev by Date: Re: backslash-issues
- Next by Date: Re: Recursion
- Previous by thread: Re: backslash-issues
- Next by thread: Re: backslash-issues
- Index(es):
Relevant Pages
|