David Leal said:
> I am using the interface operator in a module, and it gives me problems
> under HP-UX 10.20 if I use the "only" keyword in the use statment. Is it
> a bug?
Yes, but not in the compiler.
> program foo
> use myfunctions,only:SAxplusX
Here is the bug - you have used only SAXPLUSX, not OPERATOR(+); therefore
you are not picking up the overload for +.
Change "only:SAxplusX" to "only:SAxplusX,OPERATOR(+)" and it should work.
Cheers,
--
...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
([log in to unmask])
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|