Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- htmlfoot

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
htmlfoot
Synopsis
/infobank/programs/share/htmlfoot.for
Description
  Subroutine to output the current WR MCS standard 

  .html footer.
       
AUTHOR
   Clint Steele   4/23/96

    
MODIFIED
   B.F. 10/31/02

       added support for Comments e-mail link
   B.F. 11/21/02
       if InPath does not contain the 'http://walrus..." append it
   C.D. 09/23/04
       For migration from shark to squid,
       changed "dispose" to "status" in close statement and
       added implicit none.

    
Reads
          read (FormUnit, '(q,a)', end = 99)
     *                   Length, ALine(1:Length)
                   read (DateUnit, '(a)', end=955) Date
Writes
          write (JunkLine, '(1024x)')
          write (JunkLine, 666) InPath(1:PathLength)
                  write (OutputUnit, '(a)') Date
                  write (OutputUnit, '(a)')
     *                  Path(1:PathLength)
                  write (unit=OutputUnit, fmt=667)Address,
     *                                   Path(1:PathLength)
              write (OutputUnit, '(a)') ALine(1:Length)
Opens
      open (unit = FormUnit,
     *      access = 'sequential',
     *      file = 'htmlfoot.form',
     *      form = 'formatted',
     *      status = 'old',
     *      err = 100)
      open (unit = FormUnit,
     *      access = 'sequential',
     *      file = '/infobank/programs/keep/htmlfoot.keep',
     *      form = 'formatted',
     *      status = 'old')
                  open (unit = DateUnit,
     *               access = 'sequential',
     *               file = CleanPath(Slash+1:InLength)//'.temp.date',
     *               form = 'formatted',
     *               status = 'unknown')
Calls
      call stringlen (InPath, InLength)
          call stringlen (InPath, PathLength)
      call stringlen (Path, PathLength)
      call getunit (FormUnit)
                  call system (Command)
                  call getunit (Dateunit)

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/share/htmlfoot.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:36:52 PDT 2013  (chd)