Lahey/Fujitsu Fortran

SEQUENCE Statement

Description

The SEQUENCE statement specifies a storage sequence for objects of a derived type. It can only appear within a derived type definition.

Syntax

SEQUENCE

Remarks

If a derived type definition contains a SEQUENCE statement, the derived type is a sequence type.

If SEQUENCE is present in a derived type definition, all derived types specified in component definitions must be sequence types.

Example

type zee sequence ! zee is a sequence type real :: a,b,c ! a,b,c is the storage sequence end type zee