------- Additional Comments From paulthomas2 at wanadoo dot fr 2005-03-13 17:59 ------- (In reply to comment #2) This is indeed and extension.
See http://h18009.www1.hp.com/fortran/docs/lrm/lrm0372.htm#nm_in for the Digital/Compaq/HP specification > (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