------- Additional Comments From Thomas dot Koenig at online dot de  2004-12-08 
16:24 -------
(In reply to comment #1)
> Is this a language extension? Seems likely, as the standard has no concept of
> stdin  and stdout. Could you point to someplace where this extension is 
> specified?

It's in the comments to io.h (line 76 ff):

  Even more complex, during the execution of a program containing a
  namelist READ statement, you can specify a question mark character(?)
  or a question mark character preceded by an equal sign(=?) to get
  the information of the namelist group. By '?', the name of variables
  in the namelist will be displayed, by '=?', the name and value of

Also, check out http://h18009.www1.hp.com/fortran/docs/lrm/lrm0372.htm .
It's specified in green, which I suppose means that it is an extension.
Googling for "namelist fortran question mark" will lead to other
examples.

Offhand, I can't find a UNIX compiler that doesn't support it.  g77 also
tries, but the support there is buggy (see PR 18874).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18879

Reply via email to