]> git.uio.no Git - u/mrichter/AliRoot.git/blob - GEANT321/giopa/grend.F
This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / giopa / grend.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:21:17  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.20  by  S.Giani
11 *-- Author :
12       SUBROUTINE GREND (LUN)
13 C.
14 C.    ******************************************************************
15 C.    *                                                                *
16 C.    *       Routine to close an RZ file                              *
17 C.    *                                                                *
18 C.    *       CHDIR    Top directory name of the file                  *
19 C.    *                                                                *
20 C.    *    ==>Called by : <USER>                                       *
21 C.    *       Author    R.Brun  *********                              *
22 C.    *                                                                *
23 C.    ******************************************************************
24 C.
25       CHARACTER*5 CHDIR
26 C.
27 C.    ------------------------------------------------------------------
28 C.
29       IF(LUN.LT.10) THEN
30          WRITE(CHDIR,'(''LUN'',I1)') LUN
31       ELSE
32          WRITE(CHDIR,'(''LUN'',I2)') LUN
33       ENDIF
34       CALL RZEND(CHDIR)
35 C
36       END