[UP]


Manual Reference Pages  - new_line (3)

NAME

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

CONTENTS

Syntax
Description
Arguments
Return Value
Example
Standard
Class

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 18, 2019
Generated by manServer 1.08 from 023f6fa7-0fc6-484e-8853-15cdcbcb93a1 using man macros.