5 * Revision 1.12 1998/02/10 18:13:44 japost
6 * Correct the version number HVERS returned (now 3.2111 not 3.2210 for 3.21/11)
8 * Revision 1.11 1997/11/13 16:06:04 mclareni
11 * Revision 1.10 1997/11/13 13:04:29 mclareni
12 * Increase cradle no. to 0.10
14 * Revision 1.9 1997/10/17 10:26:20 mclareni
15 * Increase cradle no. to 0.09
17 * Revision 1.8 1997/06/20 18:40:43 japost
18 * Updating the version number after commiting several changes:
19 * to gthion, gflufin, ghetun
20 * Remaining problem: gdrawp, ghadr?
22 * Revision 1.7 1997/01/06 17:16:29 cernlib
23 * Remove ginit.F- and getver.F-
25 * Revision 1.6 1996/11/13 11:19:06 ravndal
26 * new cradle number /06
28 * Revision 1.5 1996/04/15 14:16:04 ravndal
29 * Slash instead of underscore
31 * Revision 1.4 1996/03/27 08:29:14 cernlib
32 * In line 40 the Hollerith had less than thespecified 40 characters.
34 * Time to get rid of these HOLLERITH
36 * Revision 1.3 1996/03/15 14:51:40 ravndal
37 * 96A version of GEANT
39 * Revision 1.2 1996/03/07 13:18:00 ravndal
40 * Preparing version number for 96A release
42 * Revision 1.1.1.1 1995/10/24 10:20:12 cernlib
46 #include "geant321/pilot.h"
47 *CMZ : 3.21/04 06/12/94 15.11.22 by S.Ravndal
49 SUBROUTINE GETVER(CHVER,CHDAT,HVERS)
51 C. ******************************************************************
53 C. * Routine to get the current version number from a pam *
54 C. * file. This routine is cracking the title given in *
55 C. * HOLLERITH format, because CMZ and old versions of PATCHY *
56 C. * do not support the character title sequence QFTITLCH *
58 C. * ==>Called by : GINIT *
59 C. * Author F.Carminati ********* *
61 C. ******************************************************************
65 CHARACTER*8 CHVER,CHDAT
72 + 40H GEANT 3.21/11 100298
75 IF(CHTIT(JSLASH:JSLASH).EQ.'/') THEN
84 IF(CHTIT(JBLA-1:JBLA-1).EQ.' ') THEN
93 IF(CHTIT(JBLA+1:JBLA+1).EQ.' ') THEN
100 60 WRITE(CHFOR,'(''(F'',I1,''.2)'')') JSL-JBEG
101 READ(CHTIT(JBEG:JSL-1),CHFOR) HMAIN
102 READ(CHTIT(JSL+1:JEND),'(I2)') ISUBV
103 HVERS=HMAIN+ISUBV*.0001
107 CHVER=CHTIT(JBEG:JEND)
109 CHVER=' '//CHTIT(JBEG:JEND)
112 CHDAT=CHTIT(JEND+3:JEND+11)