[J3] Description of MOLD in an allocate statement.
Steve Lionel
steve at stevelionel.com
Tue Dec 16 16:06:13 UTC 2025
Tom,
I understand your confusion; it took me a bit too. The key is that the
BNF for both SOURCE= and MOLD= is /source-expr/. You can then find what
happens when /source-expr/ appears in p5. Further, C949 prohibits both
SOURCE= and MOLD= from appearing.
Steve
On 12/16/2025 9:47 AM, Clune, Thomas L. (GSFC-6101) via J3 wrote:
> Perhaps my PDF search is failing me, but as far as I can tell the only
> description of the functionality of |MOLD=| in the standard is the
> following on p160 of 25-007r1:
>
> /If //MOLD= //appears and //source-expr //is a variable, its value
> need not be defined./
>
>
> Hopefully I’m just not finding it. Otherwise, surely we can provide
> just a bit of normative text describing the intent here?
>
> *
> Tom
>
>
> _<https://www.nasa.gov/>_
>
>
>
>
>
> *Thomas Clune*
>
> *Lead, Software Infrastructure*
>
> Global Modeling and Assimilation Office
>
> NASA Goddard Space Flight Center
>
> MS 610.1
>
> 8800 Greenbelt RD, Greenbelt, MD 20771
>
> _Thomas.L.Clune at nasa.gov_
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251216/78bf67ae/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 25178 bytes
Desc: not available
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251216/78bf67ae/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 274 bytes
Desc: not available
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251216/78bf67ae/attachment-0003.png>
More information about the J3
mailing list