Utilities/
protype.pro
test is a ".pro" file corresponds to an IDL procedure, function or batch file.
protype
Utilities
result = protype(file)
Return value
A scalar of string type: 'proc', 'func' or 'batch'
Parameters
file
in
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
Examples
IDL> print, protype('protype')
func
IDL> print, protype('protype.pro')
func
IDL> print, protype('init')
batch
IDL> print, protype('plt')
proc
Version history
Version
$Id: protype.pro 163 2006-08-29 12:59:46Z navarro $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
Feb 2006
Produced by IDLdoc 2.0 on Wed Sep 13 16:33:13 2006.