Re: I have no ideas what can it be!



Michel OLAGNON wrote:



Walt Brainerd wrote:

*** Hendrickson wrote:



kurdayon@xxxxxxxxx wrote:

Hello,

Can anybody explain what is happening with the following code?

program p1
    implicit none
    real                    a, b
    real, dimension(5)   :: y, x, d
    real, dimension(:,:) :: f
    allocate(f(2,5))


Also, it is strange that your system would accept to allocate
an array that is neither allocatable nor a pointer.

Oops, I didn't notice that. That makes two big mistakes
(plus mine).

--
Walt Brainerd         +1-877-355-6640 (voice & fax)
The Fortran Company   +1-520-760-1397 (outside USA)
6025 N. Wilmot Road   walt@xxxxxxxxxxx
Tucson, AZ 85750 USA  http://www.fortran.com
.


Quantcast