[J3] Should defined input subroutine be called for a NULL value in the List-directed input?
Daniel Chen
cdchen at ca.ibm.com
Thu Aug 28 20:07:33 UTC 2025
Thanks Steve.
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?
Thanks,
Daniel
From: J3 <j3-bounces at mailman.j3-fortran.org> on behalf of Steve Lionel via J3 <j3 at mailman.j3-fortran.org>
Date: Thursday, August 28, 2025 at 3:52 PM
To: j3 at mailman.j3-fortran.org <j3 at mailman.j3-fortran.org>
Cc: Steve Lionel <steve at stevelionel.com>
Subject: [EXTERNAL] Re: [J3] Should defined input subroutine be called for a NULL value in the List-directed input?
On 8/28/2025 11: 59 AM, Daniel Chen via J3 wrote: For a NULL value for the list-directed input, the stand says “A null value has no effect on the definition status of the next effective item. ” Does it imply that the defined input subroutine should
On 8/28/2025 11:59 AM, Daniel Chen via J3 wrote:
For a NULL value for the list-directed input, the stand says
“A null value has no effect on the definition status of the next effective item.”
Does it imply that the defined input subroutine should not be called for the NULL value?
My view on this is that the defined input routine should not be called. Given that a null value in input does NOT cause definition of the corresponding effective item, I see no plausible way that the routine could be called. I could not find explicit wording in the standard on this, however.
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20250828/2ca602dd/attachment.htm>
More information about the J3
mailing list