5 * Revision 1.2 1996/04/24 17:26:58 mclareni
6 * Extend the include file cleanup to dzebra, rz and tq, and also add
7 * dependencies in some cases.
9 * Revision 1.1.1.1 1996/03/06 10:47:25 mclareni
13 #include "zebra/pilot.h"
14 SUBROUTINE RZKEYS(MAXDIM,MAXKEY,KEYS,NKEYS)
16 ************************************************************************
18 * Returns the list of keys currently in the CWD
20 * MAXDIM The actual first dimension of output array KEYS. It should
21 * in principle be at least equal to the number of key elements
22 * NWKEY as declared to RZMDIR.
23 * MAXKEY The actual second dimension of output array KEYS
25 * KEYS* A 2-dimensional array dimensioned KEYS(MAXDIM,MAXKEY). It
26 * will contain the key vectors associated with the CWD.
27 * Its first index runs over the key elements for a given key,
28 * while its second index runs over the different keys.
29 * NKEYS* Actual number of keys present for the CWD.
33 * Author : R.Brun DD/US/PD
35 * Last mod: 09.02.93 JDS. Return NK and NWK in IQUEST in all cases
37 ************************************************************************
38 #include "zebra/rzcl.inc"
39 #include "zebra/rzk.inc"
40 DIMENSION KEYS(MAXDIM,MAXKEY)
42 *-----------------------------------------------------------------------
45 #include "zebra/q_jbyt.inc"
50 IF(LCDIR.EQ.0)GO TO 99
51 LK = IQ(KQSP+LCDIR+KLK)
52 NK = IQ(KQSP+LCDIR+KNKEYS)
53 NWK= IQ(KQSP+LCDIR+KNWKEY)
75 IF(JBYT(IQ(KQSP+LCDIR+KKDES+IKDES),IKBIT1,3).LT.3)THEN
76 KEYS(J,I)=IQ(KQSP+LCDIR+K+J)
78 CALL ZITOH(IQ(KQSP+LCDIR+K+J),KEYS(J,I),1)