| www.delorie.com/gnu/docs/gcc/g77_356.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
g77 treats double-quote (`"')
as beginning an octal constant of INTEGER(KIND=1) type
when the `-fvxt' option is specified.
The form of this octal constant is
"octal-digits |
where octal-digits is a nonempty string of characters in the set `01234567'.
For example, the `-fvxt' option permits this:
PRINT *, "20 END |
The above program would print the value `16'.
See section 8.7.3 Integer Type, for information on the preferred construct for integer constants specified using GNU Fortran's octal notation.
(In the GNU Fortran language, the double-quote character (`"') delimits a character constant just as does apostrophe (`''). There is no way to allow both constructs in the general case, since statements like `PRINT *,"2000 !comment?"' would be ambiguous.)
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |