NEW_LINE intrinsic function
Standard: F77 F90 F95 F2003 F2008
Example Program
<Syntax>

NEW_LINE ( A )

A : Character, scalar or array;

Result : scalar Character, same kind as A.

<Semantics>

This returns the character that acts as a newline (record terminator) in formatted stream files, if such a character exists. For ASCII, ISO 8859, and ISO 10646 encodings, this is equal to ACHAR(10,KIND(A)).

This is an enquiry function; A need not have a value, and indeed can even be an unallocated allocatable variable or a disassociated or undefined pointer.

<Related>
CHARACTER type.