Re: fortran character set



In article <JkoBi.473716$p47.136547@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"James Giles" <jamesgiles@xxxxxxxxxxxxxxxx> writes:

Actually $ (which I always call "dollar") is in the language because
some early implementations of Fortran allowed it in identifiers. It
has never had any standard meaning in the language. In other national
variants of some of the character sets Fortran has been implented
with it would have displayed diffferently than $ anyway. For the most
part it would be OK to remove it from the language standard since
it would still be usable under the provision:

Additional characters may be representable in the processor, but may
appear only in comments (3.3.1.1, 3.3.2.1), character constants (4.4.4),
input/output records (9.1.1), and character string edit descriptors
(10.2.1).

I would object to that. Back in the Fortran77 days, I ALWAYS used "$"
as the continuation mark. Why? Because a) it was guaranteed to be
there by the standard and b) (with the exceptions you mention) it
couldn't be used for anything else.

.



Relevant Pages

  • Re: Questions on reuse of FORMAT statements and newer I/O options ?such as ACCESS=STREAM
    ... I might believe that character oriented file systems are the worst ... but nothing in the standard ... That works when using only Fortran I/O. ...
    (comp.lang.fortran)
  • Re: M2 for iPhone?
    ... You don't have to implement the entire standard - it specifically allows for conforming implementations to have limited compliance. ... The converse argument for COMPLEX is that unless you offer a language with a built-in complex data type, you stand no chance of winning over the FORTRAN users. ... It is not true that the ISO standard doesn't support multi-byte characters - it is carefully written to avoid specifying any particular character coding ...
    (comp.lang.modula2)
  • Re: Help from fellow Fortran Users
    ... and Fortran in which he introduced the subject of Pascal, ... Pascal is a useful, high-level, portable language that is easy to use ... Inasmuch as his comments considered extensions for Pascal in the '70s, ... standard differs from ...
    (comp.lang.fortran)
  • Re: Scripts & Communications
    ... These two machines had different character ... Machines had words, bits, and bytes. ... standard, ASCII, had a mapping of glyphs to ... Now the ISO standard has a mapping of 8 bits for every language ...
    (sci.crypt)
  • Re: Reading from a character array
    ... deltaquattro wrote: ... library is added to the next generation of the language, as for C++, ... Fortran doesn't use the word "library", ... Fortran standard doesn't tell you which negative numbers indicate ...
    (comp.lang.fortran)