source: trunk/MagicSoft/Simulation/Corsika/Mmcs/lowup.f@ 402

Last change on this file since 402 was 286, checked in by harald, 25 years ago
This is the start point for further developments of the Magic Monte Carlo Simulation written by Jose Carlos Gonzales. Now it is under control of one CVS repository for the whole collaboration. Everyone should use this CVS repository for further developments.
File size: 1.8 KB
Line 
1 SUBROUTINE LOWUP(CHAR)
2
3C-----------------------------------------------------------------------
4C (CONVERTS) LOW(ER CASE CHARACTER TO) UP(PPER CASE CHARACTER)
5C
6C THIS SUBROUTINE IS CALLED FROM DATAC
7C ARGUMENT :
8C CHAR = CHARACTER TO BE CONVERTED
9C-----------------------------------------------------------------------
10
11 IMPLICIT NONE
12 CHARACTER*1 CHAR
13C-----------------------------------------------------------------------
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
Note: See TracBrowser for help on using the repository browser.