The size of an array is the product of the extents. B This example uses entity-oriented declaration syntax. The rank must be fixed at the time the program is written, but the extents in any dimension and the upper and lower bounds do not have to be fixed until the array comes into existence. Fortran 90 Array Assignment Fortran 90 array assignment statements allow operations on entire arrays to be expressed more simply than was possible in Fortran 77. These array assignment statements are parallelized by the Compaq Fortran compiler for increased performance.
B assigns each element of C with a value equal to the sum of the corresponding elements of A and B .
In more complex cases, this assignment syntax can have the effect of drastically simplifying the code. In subscript triplet notation, up to three parameters are specified for each dimension of the array. The first colon is mandatory when a range of values is specified, even if a , b and c are all omitted. The default value for b is the declared upper bound for that dimension. The default value for c is 1.