The Elk Code
writebox.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2024 J. K. Dewhurst and S. Sharma.
3
! This file is distributed under the terms of the GNU General Public License.
4
! See the file COPYING for license details.
5
6
subroutine
writebox
(fnum,str)
7
implicit none
8
! arguments
9
integer
,
intent(in)
:: fnum
10
character(*)
,
intent(in)
:: str
11
! local variables
12
integer
l
13
l=len(str)+2
14
write
(fnum,*)
15
write
(fnum,
'("┌",A,"┐")'
) repeat(
"─"
,l)
16
write
(fnum,
'("│ ",A," │")'
) str
17
write
(fnum,
'("└",A,"┘")'
) repeat(
"─"
,l)
18
end subroutine
19
writebox
subroutine writebox(fnum, str)
Definition:
writebox.f90:7
writebox.f90
Generated by
1.8.14