Article ID: 106731
Article Last Modified on 12/1/2003
C This sample illustrates the problem by initializing a large array,
C one element at a time, in the order the elements appear in the array.
BLOCK DATA INITME
COMMON /BIGCOM/ ARRAY(40000)
DATA ARRAY(1)/1.5/
DATA ARRAY(2)/7.4/
.
. ! 39996 DATA statements go here
.
DATA ARRAY(39999)/0.4/
DATA ARRAY(40000)/12.0/
END
C This sample initializes the array elements in reverse order to
C alleviate the problem.
BLOCK DATA INITME
COMMON /BIGCOM/ ARRAY(40000)
DATA ARRAY(40000)/12.0/
DATA ARRAY(39999)/0.4/
.
. ! 39996 DATA statements go here
.
DATA ARRAY(2)/7.4/
DATA ARRAY(1)/1.5/
END
Additional query words: 1.00 4.00 hang
Keywords: kblangfortran KB106731