The TELEMAC-MASCARET system
trunk
sources
utils
damocles
minus.f
Go to the documentation of this file.
1
! ****************
2
SUBROUTINE
minus
3
! ****************
4
!
5
&(chaine)
6
!
7
!***********************************************************************
8
! DAMOCLES V6P0 21/08/2010
9
!***********************************************************************
10
!
11
!brief CONVERTS A CHARACTER STRING FROM UPPER TO LOWER CASE.
12
!
13
!history J-M HERVOUET (LNH)
14
!+ 30/01/1992
15
!+
16
!+
17
!
18
!history A. DESITTER (BRISTOL)
19
!+ 06/10/1997
20
!+ V5P1
21
!+
22
!
23
!history N.DURAND (HRW), S.E.BOURBAN (HRW)
24
!+ 13/07/2010
25
!+ V6P0
26
!+ Translation of French comments within the FORTRAN sources into
27
!+ English comments
28
!
29
!history N.DURAND (HRW), S.E.BOURBAN (HRW)
30
!+ 21/08/2010
31
!+ V6P0
32
!+ Creation of DOXYGEN tags for automated documentation and
33
!+ cross-referencing of the FORTRAN sources
34
!
35
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36
!| CHAINE |<->| CHAINE DE CARACTERES A MODIFIER
37
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
!
39
USE
declarations_special
40
IMPLICIT NONE
41
!
42
CHARACTER(LEN=26)
:: STMAJ,STMIN
43
CHARACTER(LEN=*)
CHAINE
44
!
45
INTEGER
I,IPOS
46
!
47
INTRINSIC
len,index
48
!
49
parameter( stmaj =
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
)
50
parameter( stmin =
'abcdefghijklmnopqrstuvwxyz'
)
51
!
52
!----------------------------------------------------------------------
53
!
54
DO
i=1,len(chaine)
55
!
56
ipos=index(stmaj,chaine(i:i))
57
IF
(ipos.NE.0) chaine(i:i)=stmin(ipos:ipos)
58
!
59
ENDDO
! I
60
!
61
!-----------------------------------------------------------------------
62
!
63
RETURN
64
END
declarations_special
Definition:
declarations_special.F:3
minus
subroutine minus(CHAINE)
Definition:
minus.f:7