%N tabopen %F $MIR/src/subs/tabio.c
%D Open an table file.
%: table-i/o
%B
FORTRAN call sequence:
        subroutine tabopen(tno,name,status,ncol,nrow)
        integer tno,ncol,nrow
        character name*(*),status*(*)

  This opens an table file. Only new files implemented now

  Input:
    name        The name of the file to be opened.
                If blank, no I/O is done.
    status      Either 'old', 'new' or 'append'.

  Input or Output:
    ncol        The number of columns. No dynamic columns allowed.
    nrow        The number of rows. Can be 0 if done dynamically
                but data must be written row wise

  Output:
    tno         The handle of the output file.                          
                A negative number is passed if file is blank, no I/O done 
