]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MINICERN/packlib/zebra/qutil/lzlast.F
Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / MINICERN / packlib / zebra / qutil / lzlast.F
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
5* Revision 1.2 1996/04/18 16:13:37 mclareni
6* Incorporate changes from J.Zoll for version 3.77
7*
8* Revision 1.1.1.1 1996/03/06 10:47:14 mclareni
9* Zebra
10*
11*
12#include "zebra/pilot.h"
13 FUNCTION LZLAST (IXSTOR,LGO)
14
15C- FIND LAST BANK IN THE LINEAR STRUCTURE STARTING WITH BANK AT LGO
16C- RETURN BANK-ADR AS VALUE
17
18#include "zebra/q.inc"
19C-------------- END CDE --------------
20
21#include "zebra/q_jbyt.inc"
22
23#include "zebra/qstore.inc"
24
25 LF = LGO
26 IF (LF.EQ.0) GO TO 29
27
28 21 L = LQ(KQS+LF)
29 IF (L.EQ.0) GO TO 29
30 LF = L
31 GO TO 21
32
33 29 LZLAST = LF
34 RETURN
35 END
36* ==================================================
37#include "zebra/qcardl.inc"