USGS InfoBank banner.  USGS, Coastal and Marine Geology, InfoBank banner.
 USGS Coastal and Marine Geology banner.    Search InfoBank.
USGS InfoBank program -- handles Skip navigational links
    ________   ________   ______________   ________   _________   _______________   ________  
  tab edge  Home  tab edge  Data  tab edge  Activities  tab edge  FACS  tab edge  Atlas  tab edge  Definitions  tab edge  More  tab edge  
   
InfoBank Programs: by Name   by Data Type   General Tools   GIS   Plotting   Web   USGS Disclaimer   InfoBank Programs   Boothill  
Expanded description of application
Topic Description
Name
handles
Synopsis
/infobank/programs/dbase/misc/infobank/handles.for
Description
  Subroutine to limit activity selection.
    
Author
  Clint Steele    1/25/95


    
Reads
 read (5, '(q,a)', end = 99) 
*         SearchLength,SearchOption(1:SearchLength)

     read (SearchOption(1:SearchLength), '(i)', iostat = Oops) 
*          Constraint

             read (Activity(Loop), 
*                  '(t9,f9.5,1x,f9.5,1x,f10.5,1x,f10.5)')
*            TempNorth, TempSouth, TempEast, TempWest

             read (5, '(a)', iostat = Oops, end = 12) ActivityID
             read (5, '(i)', iostat = Oops, end = 14) Year
             read (5, '(a2)', end = 16) ShipTemp
    
Writes
 write (SearchOption, '(255x)')
             write (ActivityID, '(7x)')
             write (AYear, '(i2.2)') Year
             write (ShipTemp, '(2x)')
    
Calls
 call changecase ('CAPITALS', SearchOption)
     call helper ('CONSTRAINMENU', '??')
     call helper ('CONSTRAINMENU', '?')
     call commenter ('Handles Menu')
 call stringlen (SearchOptionKeep, SearchKeepLength)
     call stringlen (SearchOptionKeep, SearchKeepLength)
 call stringlen (SearchOption, SearchLength)
             call yesno ('[Y]N', Answer)
                 call degrees (north, south, west, east)
             call degrees (north, south, west, east)
             call overlap (TempNorth, TempSouth, 
*                          TempWest, TempEast,
*                          North, South, West, East,
*                          Relationship)

         call stringlen (ActivityID, ActivityIDLength)
             call changecase ('CAPITALS', ActivityID)
                 call helper ('ACTIVITYIDS', '??')
                 call helper ('ACTIVITYIDS', '?')
                 call commenter ('Activity ID entry')
                 call stringlen (Activity(Loop)(1:7), Length)
             call changecase ('CAPITALS', ShipTemp)
                 call helper ('SHIPS', '??')
                 call helper ('SHIPS', '?')
         call constrain 
*            (Activity, ActivityCount, 52, 53, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 54, 55, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 56, 57, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 58, 59, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 60, 61, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 62, 62, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 63, 63, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 64, 64, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 65, 65, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 66, 66, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 67, 67, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 68, 68, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 70, 70, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 72, 72, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 73, 73, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 74, 74, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 75, 75, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 76, 76, KeepFlag, GoodCount)

         call constrain 
*            (Activity, ActivityCount, 77, 77, KeepFlag, GoodCount)

    

Skip footer navigational links

InfoBank   Menlo Park Center   Santa Cruz Center   St. Petersburg Center   Woods Hole Center   Coastal and Marine Geology Program  
U. S. Department of the Interior   U. S. Geological Survey   Geologic Information   Ask-A-Geologist   USGS privacy statement   Disclaimer  

URL:
Maintainer: Clint Steele
Comments: e-mail
Last modified: Wed Jan 29 13:11:05 PST 2003  (wcs)