VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
tolower.f90
Go to the documentation of this file.
1
3
9SUBROUTINE tolower(string)
10
11 CHARACTER (len=*) , INTENT(inout) :: string
12
13 INTEGER :: i, ic, nlen, icLow, icHigh, icDel
14
15 iclow = ichar('A')
16 ichigh = ichar('Z')
17 icdel = ichar('a') - ichar('A')
18 nlen = len(string)
19
20 DO i=1,nlen
21 ic = ichar(string(i:i))
22 IF (ic >= iclow .and. ic < ichigh) string(i:i) = char(ic+icdel)
23 END DO
24
25END SUBROUTINE tolower
subroutine tolower(string)
Convert a string to lower case.
Definition tolower.f90:10