Print

Print


Catherine:

You need to write "USE MISC_UTILITY, ONLY: operator(.PP.)"

Best regards,
Van

> And, a small syntax question.  See the code below.  Is the
> 'USE MISC_UTILITY, ONLY:  .PP' syntax ok?  The compiler complains
> that .PP. hasn't been declared as a user-defined operator.
> I'm using the SGI 7.4 compilers which have had problems with
> USE XXX statements before.
>
> MODULE MISC_UTILITY
>
> INTERFACE OPERATOR (.PP.)
>    MODULE PROCEDURE ADD1
> END INTERFACE
>
> .....
>
> END MODULE MISC_UTILITY
>
> SUBROUTINE X (..... )
>
> USE MISC_UTILITY, ONLY:  .PP.     ! doesn't compile
> USE MISC_UTILITY                  ! compiles
>
> END SUBROUTINE X