|
External Development Guide: Adding System Routines |
|
An IDL system routine is an IDL procedure or function that is written in a compiled language with an IDL specific interface, and linked into IDL, instead of being written in the IDL language itself.The best way to create an IDL system routine is to compile and link the routine into a sharable library and then to add the routine to IDL at runtime using either the LINKIMAGE procedure or by making your routines part of a Dynamically Loadable Module (DLM).
| Note We recommend the use of Dynamically Loadable Modules rather than LINKIMAGE whenever possible. The small additional effort is more than compensated for by the superior integration into IDL. |
This section explains how to write a system routine, including several examples, and discusses the various options for adding such routines to IDL.
IDL Online Help (March 06, 2007)