Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public
Document Table of Contents

Block Data Program Units Overview

A block data program unit provides initial values for nonpointer variables in named common blocks. For more information, see BLOCK DATA.

Examples

An example of a block data program unit follows:

  BLOCK DATA WORK
     COMMON /WRKCOM/ A, B, C (10,10)
     DATA A /1.0/, B /2.0/, C /100*0.0/
  END BLOCK DATA WORK