>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  TXTDB_DASH

TXTDB_DASH

TXTDB_DASH

Name


      TXTDB_DASH

Purpose


      For a text array, find the txtdb_rd reference line of dashes.

Category


Calling Sequence


      dashtxt = txtdb_dash(txt)

Inputs


      txt = text array with data lines only. in
        Must be more than 1 line of text.

Keyword Parameters


Keywords


        TAB=tb number of spaces per tab (def=8).

Outputs


      dashtxt = Returned string with dashes. out

Common Blocks


Notes


      Notes: This routine is intended to help find the 3
      data description lines for a text data file to be
      read by txtdb_rd. This routine only finds the reference
      line, the line of dashes that delineate the columns of data.
      This line can then be added to the file and the
      Type and Tag lines added above it.
      If the target file has lines other than the data lines,
      like headers and trailers, isolate the data lines (manually)
      and send those to this function. A file may contain
      multiple sets of data lines, call this function for
      each set.

Modification History


      R. Sterner, 2008 Feb 28
      R. Sterner, 2010 Jun 04 --- Converted arrays from () to [].
  Copyright (C) 2008, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us