next up previous contents index
Next: Guidelines Up: Data Types Previous: Character Type

Storage Units

  Although the Fortran Standard does not specify the absolute amount of memory to be allocated to each data type, it does specify the relative amounts. This is not important very often, only when constructing unformatted direct-access records or when using COMMON and EQUIVALENCE statements. The rules are as follows:

tabular414

In the case of an array the number of storage units must be multiplied by the total number of elements in the array.

The relationship between the numeric and character storage units is deliberately undefined because it is entirely system-dependent.



Mario Storti
Wed Nov 4 19:32:56 ART 1998