This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch,doc] Document lack of support for variable format expressions


FX wrote:
> Tested with "make info man html pdf", can someone please commit?
+@noindent
+with the following:
+
+@smallexample
+      WRITE(F,'("(I", I0.5, ")")') N+1
+      WRITE(6,F) INT1
+@end smallexample

Why don't you use I0 instead of I0.5 ? The .5 seems to be unneeded.

Maybe one should also mention somewhere that one needs to declare "F" at some point
(e.g. "CHARACTER(len=20) :: F"). I also like "fmt" or something like that better
than a single letter variable such as "F".

Otherwise the patch looks OK.
Thanks for taking care of the manual.

Tobias

PS: I assume that you can now commit again.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]