Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- addgroup

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
addgroup
Synopsis
/infobank/programs/plt/naved/addgroup.for
Description
  Subroutine to add a data group by "hand-digitizing" for NAVED.

       
AUTHOR
  Clint Steele

    
USAGE
  "a" = argument, "r" = referenced, "s" = set

  
  call addgroup                         (with the following arguments)
         NumberEdit                  [variable i*4 sr]
         StatusFlag                  [variable char*4 ar]
         FileStatus                  [variable char*11 r]
         WindowNumber                [variable i*4 ar]
         CoastEditCount              [variable i*4 sr]
         TekWest                     [variable i*4 a]
         TekEast                     [variable i*4 a]
         TekSouth                    [variable i*4 a]
         TekNorth                    [variable i*4 a]
         ModifiedData                [variable char*3 s]
         TimeGapEdit                 [variable i*4 r]
         ExpertNovice                [variable char*1 r]
    
SUBROUTINES
  dwindo              (external Tektronix)          

  twindo              (external Tektronix)          
  specialmode         (external)                    
  anyprompt           (external)                    
  getkey              (shared DAPS external routine)
  changecase          (shared DAPS external routine)
  cursor              (external)                    
  anykey              (external)                    
  valid               (external)                    
  pointa              (external Tektronix)          
    
FILES_USED
  unit=*(read,write)


    
Reads
          read (*, ' (q,a17) ', end = 99) Length, 
     *         CoastEditLine (CoastEditCount)
Writes
             write (CoastEditLine (CoastEditCount), '(17x)') 
Opens
Calls
      call dwindo (LongWestWindow (WindowNumber),
     *             LongEastWindow (WindowNumber),
     *             LatSouthWindow (WindowNumber),
     *             LatNorthWindow (WindowNumber) )
      call twindo (TekWest, TekEast, TekSouth, TekNorth)
          call specialmode ('TEXT')
          call anyprompt
          call getkey (Key, KeyValue)
          call changecase ('CAPITAL', Key)
          call specialmode ('TEXT')
      call cursor (AsciiCode, 
     *             NewLong (UpdateCount), 
     *             NewLat  (UpdateCount) )
          call specialmode ('TEXT')
          call anykey
      call specialmode ('POINT')
      call valid (StatusFlag,
     *            AsciiCode,
     *            NewLong (UpdateCount),
     *            NewLat  (UpdateCount),
     *            WindowNumber)
          call pointa (NewLong (UpdateCount) ,
     *                 NewLat  (UpdateCount) )
          call drawa (NewLong (UpdateCount) , 
     *                NewLat  (UpdateCount) ) 
          call specialmode ('TEXT')
          call yesno ('Y[N]', Answer)
             call pointa (NewLong (UpdateCount-1) ,
     *                 NewLat  (UpdateCount-1) )
             call drawa (NewLong (UpdateCount) , 
     *                NewLat  (UpdateCount) ) 
          call specialmode ('TEXT')

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/plt/naved/addgroup.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:39:11 PDT 2013  (chd)