3 Writing IDL Programs

This chapter describes the process of defining, compiling, and running IDL programs. IDL procedures and functions are explained, as well as the manual and automatic methods that may be used to compile them. The control statements available in IDL are presented, along with examples showing how each statement may be used. Parameter and keyword arguments are covered in detail, and particular attention is paid to argument passing by reference versus value. In this chapter you will also find guidelines for checking input and output arguments in IDL programs. Include files, scripts, journaling, and global variables are described, and the chapter concludes with a description of error-handling mechanisms in IDL and tips for efficient ...

Get Practical IDL Programming now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.