*comdeck,TableObj       user                                            jas
c
c *** Copyright ANSYS.  All Rights Reserved.
c *** ansys, inc.
c

c *********  VARIABLES FOR TABLE STORAGE OBJECT  *********

      integer           TBL_WIDTH,   TBL_LENGTH,   TBL_SUMMARY,
     x                  TBL_FULL,    TBL_START,    TBL_DATALENG 
      parameter        (TBL_WIDTH=1, TBL_LENGTH=2, TBL_SUMMARY=3,
     x                  TBL_FULL=4,  TBL_START=8,  TBL_DATALENG=8)

c     **********  DATA STRUCTURE  **********
c   word    variable      contents
c     1   TblWidth     (dp)  - Width of Table (Terms per entry)
c     2   TblLength    (dp)  - Length of Table (Number of entries)
c     3   TblSummary   (dp)  - 2 
c     4   TblFull      (dp)  - Number of filed entries
c     5                (dp)
c     6                (dp)
c     7                (dp)
c     8   TblStart     (dp)  - 8 + TblWidth*TblSummary

c    Summary(TblWidth,TblSummary)   - Summary Data (Min,Max)

c    TABLE(TblWidth,TblLength)      - Table data 
                                                 

c  **********  SUBROUTINES IN TABLE STORAGE OBJECT  **********

c       The file name is TableObj.F
                                                              
c     hTable = TblCreate(TblWidth,TblLength)

c     call     TblDelete(hTable)

c     call     TblAdd (hTable,nRow,Values(1:nValue))
c                     nRow=0, use next row, return nRow

c     kerr  =  TblGetRow (hTable,nRow,Values(1:TblWidth))

c     kerr  =  TblGetCol (hTable,nCol,Vector(1:TblLength))

c     kerr  =  TblGetSubCol (hTable,nCol,iStart,iEnd,
c                            Vector(iStart:iEnd))

c     kerr  =  TblResize (hTable,TblLength)

c     kerr  =  TblGetRange (hTable,Range(2,nValue))

c     iValue =  TblInquire (hTable,key)   1, TblWidth     2, TblLength
c                                         3, TblSummary   4, TblFull

c     Notes:    kerr = 0 is successful 
c                     -1 is no table

