Re: fortran character set



Hello,

Wade Ward wrote:

<snip>

In C, they've got
the character set for the source and another for the execution. I
remember being puzzled by how to characterize backslash null. Is this
a distinction that fortran has as well?

In standard Fortran, the preferred answer is that there are no
backslash escapes. There may be an option to enable them. But
by default, they shouldn't be there. (That is, support when requested,
no annoyance otherwise.)

To further amplify, the standard doesn't specify backslash escapes.
Some vendors try to justify backslash escapes on the grounds
that it's a processor-dependent character set. It is an argument
I find distasteful at best.

I've just relocated to a city with a half-million people where I know
exactly zero. It's nice to hear friendly voices.

People are strange ...

--

Dan Nagle
Purple Sage Computing Solutions, Inc.
.



Relevant Pages

  • Re: gfortran diagnostics and so on
    ... Well, in f0003, backslash is part of the standard Fortran character set. ...
    (comp.lang.fortran)
  • Re: gfortran diagnostics and so on
    ... some people expect that "\" prints a backslash, ... standard Fortran character set, the default behavior should be the printable ... follow the Fortran standard, wherever applicable. ... I believe that this refers to the contents of the processor character set, not the semantics of particular characters. ...
    (comp.lang.fortran)
  • Re: append character
    ... I guess the intent is to append a \ on the end. ... As there is the problem, how different compilers handle the backslash, ... in the default character set. ... Purple Sage Computing Solutions, Inc. ...
    (comp.lang.fortran)
  • Re: Backslashes
    ... Since backslash is a printable character in the Fortran charactder set in Fortran 2003, any other interpretation of backslash violates section 1.5, "Conformance", of the Fortran standard. ... Fortran 95 compiler that offers a few Fortran 2003 features ... Fortran character set. ...
    (comp.lang.fortran)
  • Re: Populating ComboBox
    ... Try single stepping through the Click event to see where the execution is ... that should tell you what is calling it. ... backslash because if the application is in a root folder (easy if in a USB ... What I find surprising is the MsgBox is not even in any loop; ...
    (microsoft.public.vb.general.discussion)