Intel® Fortran Compiler 17.0 Developer Guide and Reference

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

Valid Hollerith Constants

16HTODAY'S DATE IS:

1HB

4H ABC

Invalid Hollerith Constants

3HABCD

Wrong number of characters.

0H

Hollerith constants must contain at least one character.