; TADIF
;---------------------------------------------------------------
;! prints differences between two table-format extension files
;# Task Table Plot
;-----------------------------------------------------------------------
;;  Copyright (C) 2019
;;  Associated Universities, Inc. Washington DC, USA.
;;
;;  This program is free software; you can redistribute it and/or
;;  modify it under the terms of the GNU General Public License as
;;  published by the Free Software Foundation; either version 2 of
;;  the License, or (at your option) any later version.
;;
;;  This program is distributed in the hope that it will be useful,
;;  but WITHOUT ANY WARRANTY; without even the implied warranty of
;;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;  GNU General Public License for more details.
;;
;;  You should have received a copy of the GNU General Public
;;  License along with this program; if not, write to the Free
;;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
;;  MA 02139, USA.
;;
;;  Correspondence concerning AIPS should be addressed as follows:
;;         Internet email: aipsmail@nrao.edu.
;;         Postal address: AIPS Project Office
;;                         National Radio Astronomy Observatory
;;                         520 Edgemont Road
;;                         Charlottesville, VA 22903-2475 USA
;-----------------------------------------------------------------------
TADIF     LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
TADIF:  Task to print difference in table-format extension files
INNAME                             Image name (name)
INCLASS                            Image name (class)
INSEQ             0.0    9999.0    Image name (seq. #)
INDISK            0.0       9.0    Disk drive #
INEXT                              Extension type
INVERS           -5.0   46655.0    Extension file version #
IN2NAME                            2nd Image name (name)
IN2CLASS                           2nd Image name (class)
IN2SEQ            0.0    9999.0    2nd Image name (seq. #)
IN2DISK           0.0       9.0    2ndDisk drive #
IN2VERS          -5.0   46655.0    2nd Extension file version #
BPRINT            0.0              First row number to examine
                                   in first file
BCOUNT                             First row number in 2nd file
                                   0 -> BPRINT
EPRINT            0.0              Last row number to examine
NPRINT                             Only list NPRINT rows 0 -> 25
NDIG            -10.0      10.0    > 3 => extended precision
                                   <=0 => use F not exp format
DOCRT            -3.0     132.0    If > 0, write to CRT
                                   > 72 => CRT line width
OUTPRINT
                                   Printer disk file to save
DOHMS            -1.0       2.0    If > 0 print times with
                                   hh:mm:ss.s format
NCOUNT            0.0              Print the first NCOUNT values
                                   in a cell
BOX                                List of columns to be
                                   examined: NO DEFAULT
----------------------------------------------------------------
TADIF
Type:  Task
Use:   TADIF prints on the line printer or terminal any rows of
       two table files that differ.  It does not attempt to be
       clever.  So if one table matches the other except that
       one of them has extra rows, the tables will be seen to
       differ after the first extra row.  In other words, TADIF
       compares the same numbered row in each table.  The adverbs
       BCOUNT and BPRINT are provided so that you may start the
       task with the two row numbers offset following the first
       extra row in order to find the next extra row.  Given this
       issue, it would be best to set DOCRT > 0.
Adverbs:
  INNAME.....Image name (name).           Standard defaults.
  INCLASS....Image name (class).          Standard defaults.
  INSEQ......Image name (seq. #).         0 => highest.
  INDISK.....Disk drive # of image.       0 => any.
  INEXT......Extension file type          ' ' => 'TA'
  INVERS.....Extension file version #     0 => highest.
  IN2NAME....2nd Image name (name).           Standard defaults.
  IN2CLASS...2nd Image name (class).          Standard defaults.
  IN2SEQ.....2nd Image name (seq. #).         0 => highest.
  IN2DISK....2nd Disk drive # of image.       0 => any.
  IN2VERS....2nd Extension file version #     0 => highest.
  BPRINT.....First row to list from first file,   0 => 1.
  BCOUNT.....First row number to include from 2nd file in case of
             rows being offset.  0 -> BPRINT
  EPRINT.....Last row to list.      < BPRINT => to end.
  NPRINT.....Stop listing after NPRINT mis-matched rows.  0 -> 25.
  NDIG.......If 0 < NDIG <= 3, the formats 1PE10.3 and 1PD13.6 are
             used for single and double precision floats.  To see more
             digits, NDIG > 3 causes 1PE13.6 and 1PD17.10 to be used.
             The added digits may be significant in some tables.
             If -3 <= NDIG <= 0, suitable non-exponential formats will
             be used when possible.  Exponential will still be used
             for numbers all of which are very small.  NDIG < -3 can
             use additional digits if needed to reresent the smallest
             non-zero values.
  DOCRT......False (<= 0) use the line printer if OUTPRINT = ' '
                   else write named OUTPRINT file only.
                   When OUTPRINT is not blank, DOCRT=-2 suppresses the
                   page-feed character on page headers and DOCRT=-3
                   suppresses page headers and most other header
                   information.  When OUTPRINT is blank, the line
                   printer will be used.  TADIF now counts the lines
                   to be printed before printing any and asks for
                   permission to continue if the count > 500.
             True  (> 0) use the terminal interactively.  The task will
                   use the actual terminal width as a display limit
                   unless 72 < DOCRT < width.  In that case, the display
                   limit will be DOCRT characters.
  OUTPRINT...Disk file name in which to save the line printer output.
             ' ' => use scratch and print immediately for interactive
             jobs - batch jobs use OUTPRINT = 'PRTFIL:BATCHjjj.nnn'
             (jjj= job #, nnn = user #).  When OUTPRINT is not blank,
             multiple outputs are concatenated, and the file is not
             actually printed.
  DOHMS......If DOHMS is false (<=0), the times in the output will
             be printed in days.  If DOHMS > 0, they will be
             printed in the form hh:mm:ss.s.  This is done for any
             column having units of DAYS and a header which starts with
             TIME.
  NCOUNT.....Elements 1 through NCOUNT are printed for each selected
             cell in the table.   0 => 100000.
  BOX........To select the column numbers to be examined including their
             order.  Up to 5 may be selected.  NO DEFAULT!
----------------------------------------------------------------
