Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-C7C9CE04-43CC-4046-AA68-A23E72C345CB
Visible to Intel only — GUID: GUID-C7C9CE04-43CC-4046-AA68-A23E72C345CB
Hollerith Constants
A Hollerith constant is a string of printable ASCII characters preceded by the letter H. Before the H, there must be an unsigned, nonzero default integer constant stating the number of characters in the string (including blanks and tabs).
Hollerith constants are strings of 1 to 2000 characters. They are stored as byte strings, one character per byte.
Examples
16HTODAY'S DATE IS: |
1HB |
4H ABC |
3HABCD |
Wrong number of characters. |
0H |
Hollerith constants must contain at least one character. |