Array declaration in Fortran
问题 Consider INTEGER,DIMENSION(3) :: NumberVector and INTEGER :: NumberVector(3) Is there any difference whatsoever between these two declarations or are they exactly the same? (I mean in ANY possible context and variation: for example, in the case that those two were identical, what if I am declaring an array with an implicit size as one of the input parameter of a subroutine? Would it still be irrelevant which one I used?) 回答1: Yes, it is identical. Even for assumed, deferred and whatever