This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / gxint / gxfort.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:21:50  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.33  by  S.Giani
11 *-- Author :
12       SUBROUTINE GXFORT
13 C.
14 C.    ******************************************************************
15 C.    *                                                                *
16 C.    *      COMIS/FORTRAN control commands                            *
17 C.    *                                                                *
18 C.    *       Authors:   R.Brun      **********                        *
19 C.    *                                                                *
20 C.    ******************************************************************
21 C.
22 #include "geant321/gcbank.inc"
23 #include "geant321/gcomis.inc"
24 #include "geant321/gcxlun.inc"
25 #include "geant321/gcunit.inc"
26 *
27       INTEGER CSADDR
28       CHARACTER*80 CHFILE
29       CHARACTER*32 CHPATL
30 C.
31 C.    ------------------------------------------------------------------
32 C.
33       CALL KUPATL(CHPATL,NPAR)
34 *
35       IF(CHPATL.EQ.'FORTRAN')THEN
36 #if defined(CERNLIB_COMIS)
37          CALL KUGETC(CHFILE,NCH)
38          IF(NCH.EQ.1.AND.CHFILE(1:1).EQ.'-')THEN
39             JUINIT=0
40             JUGEOM=0
41             JUKINE=0
42             JUSTEP=0
43             JUOUT =0
44             JULAST=0
45          ELSEIF(NCH.GT.0) THEN
46             CALL CLTOU(CHFILE)
47             CALL GXFCA(CHFILE,NCH,JAD,1)
48             JUINIT=CSADDR('UGINIT')
49             JUGEOM=CSADDR('UGEOM')
50             JUKINE=CSADDR('GUKINE')
51             JUSTEP=CSADDR('GUSTEP')
52             JUOUT =CSADDR('GUOUT')
53             JULAST=CSADDR('UGLAST')
54          ENDIF
55 *
56 #endif
57       ENDIF
58 *
59       END