Open Beliavsky opened 2 years ago
The suggestion has received support from only other person (now three people), and one person has downvoted. I guess the argument against it is that the user can just define
character (len=*), parameter :: new_line_char = new_line("A")
and use new_line_char
.
Can the argument of the
new_line
function be made optional, so thatnew_line()
is equivalent tonew_line('A')
? I don't often see Fortranners specify a character kind, andnew_line
will often be concatenated with character variables or literals of the default kind, so if the argument is made optional, in most cases justnew_line()
will be what they want.