HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
BYTE (extension)
Chapter 10290
The BYTE statement is constrained by the rules for all type declaration statements, including
the requirement that it precede all executable statements. Note, however, that the BYTE
statement does not have a kind parameter.
Example
The following are valid declarations:
BYTE i, j
BYTE :: k
BYTE, PARAMETER :: limit=120
! use an array constructor to initialize an array
BYTE, DIMENSION(4) :: bvec=(/1,2,3,4/)
! use slashes as initialization delimiters, an HP extension
BYTE b/12/, bb/27/ ! note, no double colon
Related statements
INTEGER
Related concepts
For related information, see the following:
“Type declaration for intrinsic types” on page 109
“Implicit typing” on page 113
Array declarations” on page 59
Array constructors” on page 75
“Expressions” on page 85