Re: backslash-issues
- From: bv <bvoh@xxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 20:10:36 GMT
Bart Vandewoestyne wrote:
>
> True, and it has even more problems... it doesn't work at all under F.
> If i try to compile the following with my F-compiler:
>
> character(len=1), parameter :: backslash = "\\"
>
> Error: test_backslash.f95, line 13: Character parameter BACKSLASH must
> have declared length *
>
> when I compile using my ifc compiler i get:
>
> Warning 18 at (13:test_backslash.f95) : \ used as an escape character is an extension to standard Fortran 95
CVF, as in Compaq Visual Fortran, has no problem with it, the problem is
with the *substandard* (as in quality) compilers you're using. i.e.
character(len=1), parameter :: backslash = "\\"
print*, backslash
end
compiles and runs w/o whimper, Furthermore, stripped of ghastly
committee decorations it also runs w/professional grade PC compilers for
about 20 years now.
.
- References:
- backslash-issues
- From: Bart Vandewoestyne
- Re: backslash-issues
- From: Bart Vandewoestyne
- Re: backslash-issues
- From: Joost
- Re: backslash-issues
- From: Arjen Markus
- Re: backslash-issues
- From: Bart Vandewoestyne
- backslash-issues
- Prev by Date: Re: backslash-issues
- Next by Date: Re: backslash-issues
- Previous by thread: Re: backslash-issues
- Next by thread: Re: backslash-issues
- Index(es):
Relevant Pages
|
|