Thanks for the help. Now I understand the reason. I'll get a copy
of your book.
Richard
On Jan 11, 2006, at 5:16 AM, [log in to unmask] wrote:
>> I guess:
>>
>> integer :: N =size(integral) ! wrong
>>
>> and
>>
>> integer :: N
>> N=size(integral) ! ok
>>
>> I thought they mean the same thing. But it seems they mean
>> differently.
> They can mean the same thing. However, an initialization expression
> has
> restrictions that a normal expression doesn't have. The rules are
> quite
> complicated if you're just beginning, but they're set out in
> Section 7.4
> of "Fortran 95/2003 Explained".
>
> Regards,
>
> Mike Metcalf
|