Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- taggroup

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
taggroup
Synopsis
/infobank/programs/plt/naved/taggroup.for
Description
  Subroutine to tag a data group for NAVED.

       
AUTHOR
  Clint Steele

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

  
  call taggroup                         (with the following arguments)
         NumberEdit                  [variable i*4 r]
         StatusFlag                  [variable char*4 ar]
         FileStatus                  [variable char*11 ar]
         WindowNumber                [variable i*4 ar]
         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]
         TagValue                    [variable i*4 asr]
         TagIncrement                [variable i*4 ar]
         KeyValue                    [variable i*4 a]
         ExpertNovice                [variable char*1 r]
    
SUBROUTINES
  specialmode         (external)                    

  dwindo              (external Tektronix)          
  twindo              (external Tektronix)          
  anyprompt           (external)                    
  getkey              (shared DAPS external routine)
  changecase          (shared DAPS external routine)
  cursor              (external)                    
  anykey              (external)                    
  valid               (external)                    
  settag              (external)                    
  setincrement        (external)                    
  search              (external)                    
  pointa              (external Tektronix)          
  stringlen           (shared DAPS external routine)
  point               (external)                    
  drawa               (external Tektronix)          
    
FILES_USED
  unit=*(write)


    
Reads
Writes
          write (TagString(1:12), '(i12)') TagValue
              write (CoastEditLine (CoastEditFlag(ChangePoint)), 61) 
     *           TagValue
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 cursor (AsciiCode, NewLong, NewLat)
              call specialmode ('TEXT')
              call anykey
          call valid (StatusFlag,            AsciiCode,
     *                NewLong,               NewLat,
     *                WindowNumber)
              call search (ChangePoint,
     *                     NewLat,       NewLong,
     *                     'EDITABLE',
     *                     WindowNumber, 'D')
              call stringlen (TagString, Length)
                      call stringlen (TagString, Length)
              call stringlen (TagString, Length)
              call point (NewLat,          NewLong, 
     *                    TekWest,         TekEast,
     *                    TekSouth,        TekNorth,
     *                    WindowNumber,    TagString(1:Length))
              call settag (FileStatus,         
     *                     TagValue,         
     *                     TagIncrement,
     *                     ExpertNovice)
              call setincrement (FileStatus,         
     *                           TagValue,         
     *                           TagIncrement,
     *                           ExpertNovice)
          call search (ChangePoint,
     *                 NewLat,       NewLong,
     *                 'EDITABLE',
     *                 WindowNumber, 'D')
          call specialmode ('POINT')
              call stringlen (TagString, Length)
          call stringlen (TagString, Length)
          call point (NewLat,
     *                NewLong, 
     *                TekWest,         TekEast,
     *                TekSouth,        TekNorth,
     *                WindowNumber,    TagString(1:Length))
          call specialmode ('GRID')
          call pointa (LongEdit(PointStart) , LatEdit(PointStart) )
              call drawa (LongEdit (DrawLoop) , LatEdit (DrawLoop) )
          call specialmode ('EDITABLE')

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