Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- tabber

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
tabber
Synopsis
/infobank/programs/refmt/tabber/tabber.for
Description
  Program to clean up and convert '---' delimited files

  to tab delimited.
       
AUTHOR
  Clint Steele,  3/14/2000


    
Reads
          read (90, '(q,a)', end=99) 
     *           InLength, InLine(1:InLength)
          read (94, '(q,a)', end = 999) 
     *               InLength, InLine(1:InLength)
Writes
              write (92, '(a)') OutLine(1:OutLength)
              write (OutLine, '(1024x)')
      write (92, '(a)') OutLine(1:OutLength)
      write (91, 20) (Header(Count)(1:HeadLength(Count)),
     *                    char(9), Count = 1, HeaderCount)
              write (91, 20) 
     *           (HeadLine(Count)(1:HeadLength(Count)),
     *           char(9), Count = 1, HeaderCount)
                  write (HeadLine(Count), '(1024x)')
      write (91, 20)
     *           (HeadLine(Count)(1:HeadLength(Count)),
     *           char(9), Count = 1, HeaderCount)
Opens
      open (unit = 92,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/tmp/tabber.data.tmp')
      open (unit = 94,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/tmp/tabber.data.tmp')
Calls
      call openem (1, -1)
          call stringlen (InLine(1:InLength), InLength)
              call stringlen (OutLine(1:OutLength), OutLength)
              call stringlen (OutLine(1:OutLength), OutLength)
              call stringlen (TempHeader(1:Dash-1), 
     *                        HeaderLength)
      call stringlen (OutLine(1:OutLength), OutLength)
          call stringlen (Header(Count), HeadLength(Count))
          call stringlen (InLine(1:InLength), InLength)
          call stringlen (TempHeader(1:Dash-1),
     *                    HeaderLength)
                  call stringlen (InLine(Dash+4:InLength),
     *                            HeadLength(Count))

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/refmt/tabber/tabber.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:38:31 PDT 2013  (chd)