NAME: protype
PURPOSE: test is a ".pro" file corresponds to an IDL procedure,
function or batch file.
CATEGORY:
CALLING SEQUENCE: type = protype(profilename)
INPUTS: A scalar of string type, the name of the ".pro" file to be tested
if necessary, the input name is completed with '.pro'
and its path found in !path
KEYWORD PARAMETERS: NONE
OUTPUTS: A scalar of string type: 'proc', 'func' or 'batch'
COMMON BLOCKS: none
SIDE EFFECTS:
RESTRICTIONS:
EXAMPLE:
IDL> print, protype('protype')
func
IDL> print, protype('protype.pro')
func
IDL> print, protype('init')
batch
IDL> print, protype('plt')
proc