Data Type Word Length [ HP FORTRAN 77/iX Migration Guide ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Migration Guide
Data Type Word Length
FORTRAN 66/V defaults to two bytes for the INTEGER and LOGICAL data
types, whereas HP FORTRAN 77/V defaults to four bytes for these types.
To account for these differences, the migration aid converts types
defined as INTEGER to INTEGER*2 and types defined as LOGICAL to
LOGICAL*2. However, you may want to explicitly define some data type
lengths. In deciding which length is required, take the following into
account:
* Parameter-passing problems that might occur when calling external
procedures (including system intrinsics) that expect data of one
length or the other.
* The effects of equivalencing.
* The range of values being used.
* The amount of stack space being used.
* The FORTRAN intrinsic functions being used.
MPE/iX 5.0 Documentation