I get the following message when I try to point to a PROTECTED variable from outside of the modele where it is defined:
A use associated object that has the PROTECTED attribute shall not appear as a target in a pointer-assignment-stmt
What is the rationale behind disallowing this?
If I declare a pointer in the module where the PROTECED variable is declared, associate this pointer with the PROTECTED variable, and and then associate the original pointer with the one in the module there is no error. However, now the PROTECTion is also lost and I'm able to reassign the value of the PROTECTED variable.
Is this intensional, ie. standard conforming, behavior, or is it a bug?