[J3] Should defined input subroutine be called for a NULL value in the List-directed input?
Steve Lionel
steve at stevelionel.com
Thu Aug 28 20:19:55 UTC 2025
On 8/28/2025 4:07 PM, Daniel Chen via J3 wrote:
> If that is the intent, would calling the defined input routine be
> considered definition of the input item even though the routine could
> potentially do nothing?
Even with a non-null input, the routine might not define the item as the
dummy argument is INTENT(INOUT).
But the more I think about this, the more I am uncertain as to what
should happen. The UDIO procedure is supposed to "read" from the
pseudo-unit, so it could plausibly be expected to know how to process a
null item. I'm going to withdraw my response and wait for others to
chime in.
Steve
More information about the J3
mailing list