Previous SAXO Documentation Assistant: Overview Next

Utilities/

protype.pro

test is a ".pro" file corresponds to an IDL procedure, function or batch file.

protype Utilities

result = protype(file)

Return value

-1 if not found A scalar of string type: 'proc', 'func' or 'batch'

Parameters

file        in required type: string

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 231 2007-03-19 17:15:51Z pinsard $

History

Sebastien Masson (smasson@lodyc.jussieu.fr) Feb 2006

 


  Produced by IDLdoc 2.0.