USGS InfoBank banner.  USGS, Coastal and Marine Geology, InfoBank banner.
 USGS Coastal and Marine Geology banner.    Search InfoBank.
USGS InfoBank program -- breakchar 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
Topic Description
Name
breakchar
Synopsis
/infobank/programs/edit/breakchar/breakchar.for
Description
  Program to break lines at every occurrance of a specified character.
    
Comments
  The specified character is not output, 

    nulls are converted to blanks,
    blank lines are removed, and
    maximum line length is 1000.
    
Prompts
  Enter input file name:

  Enter output file name:
  Enter ASCII decimal number of line delimiter.
      Ex: 10 = <LF>  12 = <FF>  13 = <CR>
    
Subroutines
  openem   (shared external)

  howlong  (shared external)
    
Author
  Clint Steele          10/31/84           .for


    
Reads
 read (5, *, err = 11) inum
     read (90, 1, err = 40, end = 99) 
*                   length, (aline(i), i = 1,length)
    
Writes
                 write (91, 2) (bline(i), i=1,kcount)
             write (91, 2) (bline(i), i=1,kcount)
    
Calls
 call openem (1,1)
 call howlong (90, iprcnt)
     call percentage (90)
 call percentage (0)
    

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: /infobank/programs/edit/breakchar/breakchar.doc.html
Maintainer: Clint Steele
Comments: e-mail
Last modified: Wed Nov 20 15:01:00 PST 2002  (wcs)