On May 3, 2016, at 3:47 AM, Anton Shterenlikht <[log in to unmask]> wrote:
>> In the section on character input formatting for list-directed input:
>>
>> "Let len be the length of the next eective item, and let w be the length of the character sequence. If len is less than or equal to w, the leftmost len characters of the sequence are transmitted to the next eective item. If len is greater than w, the sequence is transmitted to the leftmost w characters of the next eective item and the remaining len≠w characters of the next eective item are filled with blanks. The effect is as though the sequence were assigned to the next eective item in an intrinsic assignment statement (7.2.1.3).”
>>
>> Up until the last sentence, it is clearly consistent with Harvey’s analysis. I think that updating the last sentence above might have been overlooked when auto-reallocating characters with different lengths was added. It currently is not consistent with the rest of the paragraph. And hence a potential source of confusion.
>>
>> Cheers,
>> Bill
>
> What is the normal procedure for fixing this?
> Shall I suggest an edit and discuss it
> first in [log in to unmask]
> Or shall I submit a paper for the
> J3 meeting suggesing a new edit?
A J3 paper would be needed to generate a fix. I’ve added it to my list of issues for the next meeting. However, you are welcome to submit a paper if you wish. I see two reasonable options:
1) Delete the last sentence.
2) Or add " where the variable is a nonallocatable character with the same len parameter as the effective item” at the end of the last sentence.
Cheers,
Bill
>
> Anton
Bill Long [log in to unmask]
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
|