Clicky

Fortran Wiki
new_line (Rev #1, changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #0 to #1: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

new_line(c) returns the new-line character.

Standard

Fortran 2003 and later

Class

Inquiry function

Syntax

result = new_line(c)

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

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

category: Intrinsics

Revision from April 26, 2009 19:20:44 by Jason Blevins
Forward in time (2 more) | See current | History | Rollback | View: Source | Linked from: Intrinsic procedures

AltStyle によって変換されたページ (->オリジナル) /