]> git.uio.no Git - u/mrichter/AliRoot.git/blob - GEANT321/giopa/grmdir.F
Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / GEANT321 / giopa / grmdir.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.21  by  S.Giani
11 *-- Author :
12       SUBROUTINE GRMDIR(CHDIR,CHOPT)
13 C.
14 C.    ******************************************************************
15 C.    *                                                                *
16 C.    *       Routine to create a "standard" GEANT subdirectory        *
17 C.    *                                                                *
18 C.    *       CHDIR Subdirectory name                                  *
19 C.    *                                                                *
20 C.    *       CHOPT is a character string which may be                 *
21 C.    *          ' ' To create a subdirectory                          *
22 C.    *          'S' To create a subdirectory and set the new          *
23 C.    *              Current Directory to this directory.              *
24 C.    *                                                                *
25 C.    *    ==>Called by : <USER>                                       *
26 C.    *       Author    R.Brun  *********                              *
27 C.    *                                                                *
28 C.    ******************************************************************
29 C.
30       CHARACTER*(*) CHDIR,CHOPT
31       CHARACTER*8 CHTAGS(2)
32       DATA CHTAGS/'Object','Version'/
33 C.
34 C.    ------------------------------------------------------------------
35 C.
36       CALL UOPTC(CHOPT,'S',IOPTS)
37 *
38       CALL RZMDIR(CHDIR,2,'HI',CHTAGS)
39       IF(IOPTS.NE.0)THEN
40          CALL RZCDIR(CHDIR,' ')
41       ENDIF
42 *
43       END