Re: backslash-issues



Joost wrote:

ok, second round which should be F-proof (btw, -std=F doesn't seem to
get the error message you reported, could you file a bug report, I
don't have the F standard).

character(len=*), parameter :: something= "\\"
character(len=*), parameter :: backslash=something(1:1)

If 'warning 18' pops up, it is not quite right, because '\' is not used
as an escape character, it is just twice a character (there could of
course be an error that '\' is not in the character set of course).

Joost

Very clever. How about ...   backslash = "\\"(1:1)  ???

--
Walt Brainerd         +1-877-355-6640 (voice & fax)
The Fortran Company   +1-520-760-1397 (outside USA)
6025 N. Wilmot Road   walt@xxxxxxxxxxx
Tucson, AZ 85750 USA  http://www.fortran.com
.



Relevant Pages

  • Re: Reading a file from a specified range
    ... The command that produces the error may be, ... | more than three rows above the error message. ... | character instead of going backwards some defined number of rows. ...
    (comp.lang.cpp)
  • Re: backslash-issues
    ... get the error message you reported, could you file a bug report, I don't have the F standard). ... I was in the middle of providing Andy with a bunch of test cases and we both get off on something else. ... as an escape character, it is just twice a character. ...
    (comp.lang.fortran)
  • Re: backslash-issues
    ... ok, second round which should be F-proof (btw, -std=F doesn't seem to ... get the error message you reported, could you file a bug report, I ... as an escape character, it is just twice a character (there could of ...
    (comp.lang.fortran)
  • Re: strong passwords
    ... I have seen a user forget a 6 character password in 10-20 seconds though. ... "Herb Martin" wrote in message ... Workstations) as your users will most likely NOT come up with ... >> in an error message that is quite generic and not very informative. ...
    (microsoft.public.win2000.active_directory)
  • Re: Zeos Acces + Firebird
    ... arithmetic exception, numeric overflow, or string truncation ... > Cannot transliterate character between caracter sets. ... So your error message is right on the money. ... is being asked to, and cannot, transliterate that character. ...
    (alt.comp.lang.borland-delphi)