1
! @(#)irac_last.prg 19.1 (ES0-DMD) 02/25/03 14:22:55
2
! @(#)irac_last.prg 19.1 (ESO-Chile) 02/25/03 14:22:55
3
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++
4
!.COPYRIGHT (C) 1995 European Southern Observatory
6
!.AUTHOR C. Lidman, ESO-Chile
7
!.KEYWORDS IRAC package
8
!.PURPOSE Lists the last n entries of the catalogue
9
!.NOTE Requires the catalog data.cat
10
!.VERSION 950729 C. Lidman Creation
11
! 951010 CEL Added cross referencing
12
!-------------------------------------------------------
15
define/par p1 10 N "Enter the number of files to be listed" 0,10000
17
define/loc sss/i/1/2 1,1
24
sss(1) = {sss(2)}-{p1}+1
25
if 'sss(1)' .le. 0 then
28
read/icat data 'sss(1)',{sss(2)}