PRO
Syntax | Arguments | Keywords | Examples | Version History
The PRO statement defines an IDL procedure.
Note
For information on using the PRO statement, see Creating and Running Programs in IDL and Creating Procedures and Functions (Application Programming).
Syntax
PRO Procedure_Name, argument1, ..., argumentn
. . .
END
Arguments
argumentn
A parameter that is passed to the procedure.
Keywords
None.
Examples
The following example demonstrates the use of arguments in a PRO statement:
After you run myprocedure.pro, IDL returns:
Version History