[Info-vax] Userland programming languages on VMS.
Arne Vajhøj
arne at vajhoej.dk
Fri Feb 4 12:56:50 EST 2022
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.
$ type ts1_90.f90
! this should not compile with Fortran 77
program ts
real (kind=4) x
x = 123.456
call f(x)
end
$ type ts2_90.f90
! this should not compile with Fortran 77
subroutine f(x)
integer (kind=4) x
print *, x
end
$ for /warn=all ts1_90
$ for /warn=all ts2_90
$ link ts1_90 + ts2_90
$ run ts1_90
-377928714
Arne
More information about the Info-vax
mailing list