Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- critical

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
critical
Synopsis
/infobank/programs/plt/naved/critical.for
Description
  Subroutine to determine critical value changes for NAVED.

       
AUTHOR
  Clint Steele         

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

  
  call critical                         (with the following arguments)
         NumberEdit              [variable i*4 r]
         WindowNumber                [variable i*4 r]
         TekWest                     [variable i*4 a]
         TekEast                     [variable i*4 a]
         TekSouth                    [variable i*4 a]
         TekNorth                    [variable i*4 a]
    
SUBROUTINES
  dwindo              (external Tektronix)          

  twindo              (external Tektronix)          
  changecase          (external DRS shareable)
  csedst              (internal)                    
  specialmode         (internal)                    
  getkey              (external DRS shareable)
  movea               (external Tektronix)          
  movrel              (external Tektronix)          
  aoutst              (external Tektronix)          
    
FUNCTIONS
  abs                 (FORTRAN intrinsic function)  

    
FILES_USED
  unit=*(write)

    
LIMITATIONS
  NOTICE:

    LOCAL EDItS SET AND PASSED AS ARGUMENTS BUT NOT OTHERWISE REFERENCED:
      course
  NOTICE:
    LOCAL ARRAYS SET AND PASSED AS ARGUMENTS BUT NOT OTHERWISE REFERENCED:
      criticalarray

    
Reads
      read (5, 8, end = 99) UserInput
      read (UserInput, 9, end = 99) Key
          read (UserInput, '(f10.5)', iostat = ErrorFlag) CriticalSpeed
Writes
Opens
Calls
      call specialmode ('TEXT')
      call changecase ('CAPITAL', Key)
              call forerror (ErrorFlag)
      call dwindo (LongWestWindow (WindowNumber), 
     *             LongEastWindow (WindowNumber),
     *             LatSouthWindow (WindowNumber), 
     *             LatNorthWindow (WindowNumber) ) 
      call twindo (TekWest, TekEast, TekSouth, TekNorth) 
              call csedst (Course,
     *                     Distance,
     *                     7, 
     *                     LatEdit  (LoopCount - BadCount), 
     *                     LongEdit (LoopCount - BadCount), 
     *                     LatEdit  (LoopCount), 
     *                     LongEdit (LoopCount) )
              call specialmode ('TEXT')
              call anyprompt
              call getkey (Key, KeyValue)
              call changecase ('CAPITAL', Key)
              call specialmode ('GRAPHICS')
      call specialmode ('GRAPHICS')
          call movea (LongEdit (CriticalPointer (LoopCount) ), 
     *                LatEdit  (CriticalPointer (LoopCount) ) ) 
          call movrel (CharacterWidth / -2, CharacterHeight / -2)
          call aoutst (1, CriticalArray (LoopCount) ) 

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