James Giles wrote: The g0 edit descriptor According to the draft document: C1007 (R1006) For the G edit descriptor, d shall be specified if and only if w is not zero. To ... to specify d were present, G would probably become my main output edit descriptor. I was looking forward to g0 before I found that it wasn't allowed...
...abilities should have been added to the language long ago. ... I have needed those too (and have spent hours coding them via internal file writes), so totally agree. I guess they would need a new format edit descriptor to be defined. Of course D, E, F, and G are used. But H doesn't seem to be used very much any more... :-) Why not just G? If the format specifier is G0.9, that...
... should have been added to the language long ago. $.02 -Ron Shepard <--IMO, of course I have needed those too (and have spent hours coding them via internal file writes), so totally agree. I guess they would need a new format edit descriptor to be defined. Of course D, E, F, and G are used. But H doesn't seem to be used very much any more... :-) -- Clive Page
The g0 edit descriptor According to the draft document: C1007 (R1006) For the G edit descriptor, d shall be specified if and only if w is not zero. To me this eliminates any value ...single precision). If the ability to specify d were present, G would probably become my main output edit descriptor. I was looking forward to g0 before I found that it wasn't allowed a d part. --...
...3, 11:46Â pm, "James Giles" <jamesgi...@worldnet.att.net> wrote: Tobias Burnus wrote: It is not allowed: G w [ . d [ E e ] ] "C1007 (R1006) For the G edit descriptor, d shall be specified if and only if w is not zero." Ok. Â That means my comment will be that the constraint removes any value I saw in the feature. I wholeheartedly agree that not being able to ...
... a digits part). If it can, then it's likely to become one of my favorite features. It is not allowed: G w [ . d [ E e ] ] "C1007 (R1006) For the G edit descriptor, d shall be specified if and only if w is not zero." Ok. That means my comment will be that the constraint removes any value I saw in the feature. -- J. Giles "I conclude that there are two ways of ...
... answer, I won't send the following as an F2008 public review response: I can't really tell in the document whether g0 is allowed to be g0.d (that is, a digits part). Â If it can, then it's likely to become one of my favorite features. It is not allowed: G w [ . d [ E e ] ] "C1007 (R1006) For the G edit descriptor, d shall be specified if and only if w is not zero." Tobias
...> On input, the G data edit descriptor transfers w characters from an external ... I/O list item. The G descriptor interprets and assigns input data in ... way as the F data edit descriptor. Rules for Input Processing On input, the F data edit descriptor transfers w characters from an external ... the location specified by the F descriptor. If the field contains an exponent, ...
...Processing On input, the G data edit descriptor transfers w characters from an external ... I/O list item. The G descriptor interprets and assigns input data in the... way as the F data edit descriptor. Rules for Input Processing On input, the F data edit descriptor transfers w characters from an external ... the location specified by the F descriptor. If the field contains an exponent,...
... does not produce the expected output when reading in an integer with a G descriptor. The last write statement outputs 1.e-7 instead of 1. Is this a...compiler bug, or (most likely) I'm misunderstanding the use of the G descriptor? ... 2 format(g) The G edit descriptor must have a field width (and optionally some other stuff): 2 format(g15.7) The F2008 standard introduces...