Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- imagemap

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
imagemap
Synopsis
/infobank/programs/dbase/validator/imagemap.for
Description
  Subroutine to verify the format of an IMAGEMAP file.


       
Reads
          read (TempUnit, '(q,a)', end = 99)
     *                ALineLength, ALine(1:ALineLength)
          read (ALine(Word3Start:Word3End), '(i,i)',
     *                  iostat = ReadError, err = 9)
     *                  TempInteger, TempInteger
          read (ALine(Word4Start:Word4End), '(i,i)',
     *                  iostat = ReadError, err = 19)
     *                  TempInteger, TempInteger
Writes
              write (Message, 25) InFile(1:InFileLength),
     *                    RecordCount,
     *                    'column 5 must be a space'
              write (Message, 25) InFile(1:InFileLength),
     *                    RecordCount,
     *                    'the end of word 4 must be the end of data'
              write (Message, 25) InFile(1:InFileLength),
     *                    RecordCount,
     *                    'word 3 must be a pair of comma-separated '//
     *                    'integers'
              write (Message, 25) InFile(1:InFileLength),
     *                    RecordCount,
     *                    'word 4 must be a pair of comma-separated '//
     *                    'integers'
Opens
      open (unit   = TempUnit,
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown',
     *      name   = InFile(1:InFileLength))
Calls
          call stringlen (ALine(1:ALineLength), 
     *                            ALineLength)

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/dbase/validator/imagemap.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:37:38 PDT 2013  (chd)