Write multiple items to a line
Example usage
use variableKind use m_writeline use m_fileIO, only: openFile, closeFile character(len=:),allocatable :: fName real(r64) :: a,b,c real(r64) :: a1D(3) integer(i32) :: iunit, istat a = 1.d0 b = 2.d0 c = 3.d0 a1D = [1.d0, 2.d0, 3.d0] fName = 'writeline.txt' call openFile(fName, iunit, 'unknown', istat) call writeline(a, b, c, fName, iunit) call writeline(a1D, fName, iunit) call closeFile(fName, iunit, '', istat)
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c | ||||
real(kind=r64) | :: | d | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c | ||||
real(kind=r64) | :: | d | ||||
real(kind=r64) | :: | e | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a(:) | ||||
real(kind=r64) | :: | b(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a(:) | ||||
real(kind=r64) | :: | b(:) | ||||
real(kind=r64) | :: | c(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b(:) | ||||
real(kind=r64) | :: | c(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c | ||||
real(kind=r64) | :: | d | ||||
real(kind=r64) | :: | e(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c | ||||
real(kind=r64) | :: | d | ||||
real(kind=r64) | :: | e(:) | ||||
real(kind=r64) | :: | f(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c | ||||
real(kind=r64) | :: | d(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c | ||||
real(kind=r64) | :: | d(:) | ||||
real(kind=r64) | :: | e(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c(:) | ||||
real(kind=r64) | :: | d(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c | ||||
real(kind=r64) | :: | d | ||||
real(kind=r64) | :: | e | ||||
real(kind=r64) | :: | f(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |
Interfaced with writeLine()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | a | ||||
real(kind=r64) | :: | b | ||||
real(kind=r64) | :: | c | ||||
real(kind=r64) | :: | d | ||||
real(kind=r64) | :: | e | ||||
real(kind=r64) | :: | f(:) | ||||
real(kind=r64) | :: | g(:) | ||||
character(len=*), | optional | :: | fname | |||
integer(kind=i32), | optional | :: | iunit |