]> git.uio.no Git - u/mrichter/AliRoot.git/blame - GEANT321/gbase/gmail.F
Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / GEANT321 / gbase / gmail.F
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1.1.1 1995/10/24 10:20:11 cernlib
6* Geant
7*
8*
9#include "geant321/pilot.h"
10*CMZ : 3.21/02 29/03/94 15.41.19 by S.Giani
11*-- Author :
12 SUBROUTINE GMAIL(LINBEF,LINAFT)
13C.
14C. ******************************************************************
15C. * *
16C. * Send a mail on the output device (usually unit LOUT) *
17C. * The mail is in character array CHMAIL of /GCMAIL/ *
18C. * Max length is 132 chars and trailing blanks are stripped *
19C. * LINBEF lines are skipped before mail and LINAFT after *
20C. * *
21C. * ==>Called by : many routines *
22C. * Authors : R.Brun, P.Zanarini ********* *
23C. * *
24C. ******************************************************************
25C.
26#include "geant321/gcunit.inc"
27C.
28C. ------------------------------------------------------------------
29C.
30 DO 10 I=1,LINBEF
31 WRITE (LOUT,1000)
32 10 CONTINUE
33 DO 20 NCH=132,1,-1
34 IF (CHMAIL(NCH:NCH).NE.' ') GO TO 30
35 20 CONTINUE
36 NCH=1
37 30 CONTINUE
38 WRITE (LOUT,2000) CHMAIL(1:NCH)
39 DO 40 I=1,LINAFT
40 WRITE (LOUT,1000)
41 40 CONTINUE
42 1000 FORMAT (1X)
43 2000 FORMAT (A)
44 END