[UP]


Manual Reference Pages  - new_line (3)

NAME

new_line(3f) - [FORTRAN:INTRINSIC:CHARACTER] New line character

SYNTAX

result = new_line(c)

DESCRIPTION

new_line(c) returns the new-line character.

ARGUMENTS

C - The argument shall be a scalar or array of the type CHARACTER.

RETURN VALUE

Returns a CHARACTER scalar of length one with the new-line character of the same kind as parameter C.

EXAMPLE

Sample program:

    program demo_new_line
      implicit none
      write(*,’(A)’) ’This is record 1.’//NEW_LINE(’A’)//’This is record 2.’
    end program demo_new_line

STANDARD

[[Fortran 2003]] and later

CLASS

[[Inquiry function]]


new_line (3) March 11, 2021
Generated by manServer 1.08 from c2a108b4-6738-4bf1-ace7-ea462e4f4663 using man macros.