NAMENUM Name
      
       NAMENUM Purpose
      
       Break a name into a pattern and numbers in the name.
Category
Calling Sequence
      
       namenum, name, pat, i, j, k Inputs
             name = text string to analyze.              in
Keyword Parameters
Keywords
        
         DIGITS=d  max number of digits in a number in the string.
Outputs
      
       pat = pattern of text string.               out 
      
       i = number that was in the # position.      out 
      
       j = number that was in the $ position.      out 
      
       k = number that was in the % position.      out 
Common Blocks
Notes
      
       Notes: Ex1: name='file7.txt' -> pat = 'file#.txt',  i=7
        
         Ex2: name='A1B2C3D' -> pat = 'A#B$C%D', i=1, j=2, k=3
        
         Ex3: name='A0005B' -> pat='A#B', i=5.
        
         If $ and % are not in resulting pattern then"
                      j and k did not occur.
                  Inverse of numname, see numname.
Modification History
      
       1991 --- R. Sterner 
      
       R. Sterner, 2010 Jun 04 --- Converted arrays from () to []. 
  
 Copyright (C) 1991, Johns Hopkins University/Applied Physics Laboratory
  
 This software may be used, copied, or redistributed as long as it is not
  
 sold and this copyright notice is reproduced on each copy made.  This
  
 routine is provided as is without any express or implied warranties
  
 whatsoever.  Other limitations apply as described in the file disclaimer.txt.