Creating Procedures and Functions

The following topics are covered in this section:

Overview of Procedures and Functions
Defining a Procedure
Defining a Function
Automatic Compilation and Execution
Parameters
Using Keyword Parameters
Determining if a Keyword is Set
Supplying Values for Missing Keywords
Supplying Values for Missing Arguments
Keyword Inheritance
Entering Procedure Definitions
How IDL Resolves Routines
Parameter Passing Mechanism
Calling Mechanism
Calling Functions/Procedures Indirectly