Group: comp.lang.fortran · Group Profile · Search for Subtelty in comp.lang.fortran
Author: FX
Date: Mar 21, 2007 05:55
Hi all, I'm trying to understand the subtelties of redefining intrinsic operators. In particular, I'd like confirmation that the code below is invalid, and that the reason is the right one: module m1 interface operator(+) module procedure f2 end interface contains function f2(a,b) integer, intent(in) :: a(2) integer, intent(in) :: b(3) integer :: f2 f2 = 0 end ...
|