1 | SUBROUTINE LOWUP(CHAR)
|
---|
2 |
|
---|
3 | C-----------------------------------------------------------------------
|
---|
4 | C (CONVERTS) LOW(ER CASE CHARACTER TO) UP(PPER CASE CHARACTER)
|
---|
5 | C
|
---|
6 | C THIS SUBROUTINE IS CALLED FROM DATAC
|
---|
7 | C ARGUMENT :
|
---|
8 | C CHAR = CHARACTER TO BE CONVERTED
|
---|
9 | C-----------------------------------------------------------------------
|
---|
10 |
|
---|
11 | IMPLICIT NONE
|
---|
12 | CHARACTER*1 CHAR
|
---|
13 | C-----------------------------------------------------------------------
|
---|
14 |
|
---|
15 | IF ( CHAR .EQ. 'a' ) THEN
|
---|
16 | CHAR='A'
|
---|
17 | ELSEIF ( CHAR .EQ. 'b' ) THEN
|
---|
18 | CHAR='B'
|
---|
19 | ELSEIF ( CHAR .EQ. 'c' ) THEN
|
---|
20 | CHAR='C'
|
---|
21 | ELSEIF ( CHAR .EQ. 'd' ) THEN
|
---|
22 | CHAR='D'
|
---|
23 | ELSEIF ( CHAR .EQ. 'e' ) THEN
|
---|
24 | CHAR='E'
|
---|
25 | ELSEIF ( CHAR .EQ. 'f' ) THEN
|
---|
26 | CHAR='F'
|
---|
27 | ELSEIF ( CHAR .EQ. 'g' ) THEN
|
---|
28 | CHAR='G'
|
---|
29 | ELSEIF ( CHAR .EQ. 'h' ) THEN
|
---|
30 | CHAR='H'
|
---|
31 | ELSEIF ( CHAR .EQ. 'i' ) THEN
|
---|
32 | CHAR='I'
|
---|
33 | ELSEIF ( CHAR .EQ. 'j' ) THEN
|
---|
34 | CHAR='J'
|
---|
35 | ELSEIF ( CHAR .EQ. 'k' ) THEN
|
---|
36 | CHAR='K'
|
---|
37 | ELSEIF ( CHAR .EQ. 'l' ) THEN
|
---|
38 | CHAR='L'
|
---|
39 | ELSEIF ( CHAR .EQ. 'm' ) THEN
|
---|
40 | CHAR='M'
|
---|
41 | ELSEIF ( CHAR .EQ. 'n' ) THEN
|
---|
42 | CHAR='N'
|
---|
43 | ELSEIF ( CHAR .EQ. 'o' ) THEN
|
---|
44 | CHAR='O'
|
---|
45 | ELSEIF ( CHAR .EQ. 'p' ) THEN
|
---|
46 | CHAR='P'
|
---|
47 | ELSEIF ( CHAR .EQ. 'q' ) THEN
|
---|
48 | CHAR='Q'
|
---|
49 | ELSEIF ( CHAR .EQ. 'r' ) THEN
|
---|
50 | CHAR='R'
|
---|
51 | ELSEIF ( CHAR .EQ. 's' ) THEN
|
---|
52 | CHAR='S'
|
---|
53 | ELSEIF ( CHAR .EQ. 't' ) THEN
|
---|
54 | CHAR='T'
|
---|
55 | ELSEIF ( CHAR .EQ. 'u' ) THEN
|
---|
56 | CHAR='U'
|
---|
57 | ELSEIF ( CHAR .EQ. 'v' ) THEN
|
---|
58 | CHAR='V'
|
---|
59 | ELSEIF ( CHAR .EQ. 'w' ) THEN
|
---|
60 | CHAR='W'
|
---|
61 | ELSEIF ( CHAR .EQ. 'x' ) THEN
|
---|
62 | CHAR='X'
|
---|
63 | ELSEIF ( CHAR .EQ. 'y' ) THEN
|
---|
64 | CHAR='Y'
|
---|
65 | ELSEIF ( CHAR .EQ. 'z' ) THEN
|
---|
66 | CHAR='Z'
|
---|
67 | ENDIF
|
---|
68 |
|
---|
69 | RETURN
|
---|
70 | END
|
---|