On Saturday, April 23, 2022 at 4:23:22 PM UTC-4, Thomas Koenig wrote:
> ..
> feed "2*1" to this program, and expect it to work and print
> some semblance of " 1.000000 1.000000"? There seems to be nothing
> prohibiting this in the standard.
Nor supporting it in the standard. You may want to inquire at the J3 mailing list about the r*c form of list-directed input and defined IO is supposed to work with it.
You will know feeding "1,1" to that program will work and print your expected output.
>
> Or assume that I want to read a string of arbitrary length (to read
> in the numbers in the example above) using list-directed I/O, for
> later conversion with internal I/O, reallocating as I go along in
> case the user types 1.000000000000000000000000000000000000000e000.
> I cannot use the usual method of using ADVANCE="NO", because that
> is ignored in a child I/O statement.
Not sure what the question is here but child data transfer is effectively nonadvancing and the child data transfer can take advantage of it in asuitable fashion to read in the characters in some sequence, perhaps even one by one, until the delimiter(s) for list-directed input signal the end of transfer and then do the needed conversion.
>
> I also did not find a good explanation of these finer points
> anywhere.
Again ask for any clarification at the J3 mailing list.