(j3.2006) internal writes to deferred length strings?
Damian Rouson
damian
Fri Jul 28 09:56:29 EDT 2017
On Fri, Jul 28, 2017 at 6:28 AM, Clune, Thomas L. (GSFC-6101) <
thomas.l.clune at nasa.gov> wrote:
> I?m a big fan of deferred length strings and now use them heavily in my
> code. Having said that, there are few use cases where the existing
> functionality is a bit frustrating.
>
Ditto
>
> Of course, having WRITE() automatically allocate deferred length strings
> would beg the question of what to do if the string were already allocated.
> E.g., some might want the string shortened as we do for array assignments
> and differently sized arrays. For myself, the reasonable compromise would
> be to leave the case with allocated strings unchanged, and only modify the
> result when using an unallocated deferred length string.
>
I agree with this choice.
Damian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20170728/40fae7f9/attachment.html
More information about the J3
mailing list