Next: NINT, Previous: NEAREST, Up: Intrinsic Procedures [Contents][Index]
NEW_LINE
— New line characterNEW_LINE(C)
returns the new-line character.
Fortran 2003 and later
Inquiry function
RESULT = NEW_LINE(C)
C | The argument shall be a scalar or array of the
type CHARACTER . |
Returns a CHARACTER scalar of length one with the new-line character of the same kind as parameter C.
program newline implicit none write(*,'(A)') 'This is record 1.'//NEW_LINE('A')//'This is record 2.' end program newline