2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
6 .. index:: NEW_LINE, newline, output, newline
10 NEW_LINE --- New line character
11 *******************************
13 .. function:: NEW_LINE(C)
15 ``NEW_LINE(C)`` returns the new-line character.
18 The argument shall be a scalar or array of the
22 Returns a :samp:`{CHARACTER}` scalar of length one with the new-line character of
23 the same kind as parameter :samp:`{C}`.
26 Fortran 2003 and later
32 .. code-block:: fortran
37 .. code-block:: fortran
41 write(*,'(A)') 'This is record 1.'//NEW_LINE('A')//'This is record 2.'