Previous Getting Started with IDL: Programming in IDL Next

IDL and Programming

IDL encompasses a complete set of program control statements that allow for the writing of sophisticated programs and applications. These control statements are similar to, if not identical to, those found in other major programming languages. This chapter demonstrates some of IDL's more basic yet important programming capabilities.


Note
For optimum performance when using these examples, create a bitmap buffer for your graphic windows and use a maximum of 256 colors by entering the following command at the IDL command prompt:

DEVICE, RETAIN=2, DECOMPOSED=0


Note
See Library Authoring for information on naming procedures to avoid conflicts with IDL routine names. It is important to implement and consistently use a naming scheme from the earliest stages of code development to avoid namespace conflicts.

  IDL Online Help (March 06, 2007)