[Info-vax] Userland programming languages on VMS.
Arne Vajhøj
arne at vajhoej.dk
Fri Feb 4 20:10:23 EST 2022
On 2/4/2022 4:13 PM, Phillip Helbig (undress to reply) wrote:
> In article <61fd68e5$0$699$14726298 at news.sunsite.dk>,
> =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne at vajhoej.dk> writes:
>> On 2/4/2022 12:36 PM, Phillip Helbig (undress to reply) wrote:
>>> In article <61fc2d6d$0$700$14726298 at news.sunsite.dk>,
>>> =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne at vajhoej.dk> writes:
>>>> There is no argument type check between caller and called
>>>> in Fortran.
>>>
>>> There has been since Fortran90.
>>
>> I do not see that.
>
> You need to have an explicit interface.
OK.
program ts
interface
subroutine f(x)
integer (kind=4) x
end subroutine
end interface
real (kind=4) x
x = 123.456
call f(x)
end
does give an error.
So Fortran 90 is up at the C level.
But that is still pretty bad compared to most other
languages.
Arne
More information about the Info-vax
mailing list