It's my understanding that polymorphic variables cannot appear on the
left-hand side of an intrinsic assignment statement (7.1.4.2 in the
draft F2003 standard)
However, I cannot find any similar restriction for a defined
assignment. Is it thus possible to have a polymorphic variable on the
lhs of an assignment, if that variable's class implements defined
assignment (via an ASSIGNMENT(=) subroutine)?
Context for my question: NAG Fortran 5.2 is barfing on a defined
assignment to a polymorphic dummy subroutine argument.
Thanks!
Rich
Could you post the code? In the code that I just posted in your other
thread, I used defined assignment for a polymorphic l.h.s., and it
worked with nagfor 5.2.
-- Wolfgang
--
E-mail: firstnameini...@domain.de
Domain: yahoo