Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- showfmt2html

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
showfmt2html
Synopsis
/infobank/programs/html/showfmt2html/showfmt2html.for
Description
  Program to list standard DRS formats as HTMLs.

       
COMMENTS
  Uses DATACODES.TXT (hard coded input) and

  formats input by DICTIONARY subroutine.
    
SUBROUTINES
  openem       (external shareable)

  dictionary   (external shareable)
  stringlen    (external shareable)
    
AUTHOR
  Clint Steele       .for    8/19/96    based on SHOWFMT.FOR


    
Reads
              read (92, '(q,a)', end = 61) Length, ALine(1:Length)
                  read (92, '(q,a)', end = 61) Length, ALine(1:Length)
Writes
              write (FileName, '(16x)')
                  write (FileName, 88) FileType*10
                  write (FileName, 188) FileType*10
              write (HTMLName, '(30x)')
                  write (HTMLName, 89) FileType
                  write (HTMLName, 189) 
     *                      Title(FileType)(1:TitleLength)
              write (91, 1) Description(FileType)(1:Length)
              write (91, 55)
              write (91, 76) Mnemonic(FileType)(1:Length)
              write (91, 77) Fortran(FileType)(1:Length)
              write (91, 78) C(FileType)(1:Length)
              write (91, 44)
              write (ExampleName, '(21x)')
                  write (ExampleName, 59) FileType*10
                  write (ExampleName, 159) FileType*10
              write (91, 56)
                  write (91, '(a)') Ruler3(1:RulerLength)
              write (91, '(a)') Ruler2(1:RulerLength)
              write (91, 75) Ruler1(1:RulerLength)
                  write (91, '(a)') ALine(1:Length)
              write (91, 85)
              write (91, 57)
Opens
      open (unit = 89,
     *      file = '/infobank/programs/keep/datacodes.keep',
     *      status = 'OLD',
     *      iostat = ErrorFlag)
              open (unit = 91,
     *              file = FileName(1:FileNameLength),
     *              status = 'unknown',
     *              access = 'sequential',
     *              form = 'formatted')
              open (unit = 92,
     *              name = ExampleName(1:ExampleNameLength),
     *              form = 'formatted',
     *              access = 'sequential',
     *              status = 'old',
     *              err = 58)
Calls
          call dictionary ( Description, Mnemonic, Fortran, 
     *                      C, Title)
              call stringlen (FileName, FileNameLength)
                  call stringlen (Title(FileType), TitleLength)
              call stringlen (HTMLName, HTMLNameLength)
              call htmlhead (91, HTMLName(1:HTMLNameLength))
              call stringlen (Description(FileType), Length)
              call stringlen (Mnemonic(FileType), Length)
              call stringlen (Fortran(FileType), Length)
              call stringlen (C(FileType), Length)
              call stringlen (ExampleName, ExampleNameLength)
              call htmlfoot (91, 
     *            'http://www.walrus.wr.usgs.gov/infobank/'//
     *            'programs/html/showfmt2html/'//
     *            FileName(1:FileNameLength))

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/html/showfmt2html/showfmt2html.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Nov 4 03:40:40 PST 2013  (chd)