<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

Utilities/

protype.pro

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

topprotype 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 157 2006-08-21 09:01:50Z navarro $

History

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

Statistics

McCabe cyclic 5
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.