IDL

DLM_REGISTER

DLM_REGISTER

The DLM_REGISTER procedure registers a Dynamically Loadable Module (DLM) in IDL that was not registered when starting IDL. This allows you to create DLMs using the MAKE_DLL procedure and register them in your current session without having to exit and restart IDL.

Example


Manually register and then call a routine within a DLM file that is not on !DLM_PATH:

DLM_REGISTER, '/users/myname/mycode.dlm'
...
; later on, we call a routine within the mycode DLM
MYROUTINE, a, b, c

IDL prints:

% Loaded DLM: MYCODE.

Syntax


DLM_REGISTER, File1 [, File2, ..., Filen]

Arguments


Filen

The full path to the DLM module definition file to read.

Keywords


None.

Version History


5.1

Introduced

See Also


DLM_LOAD, !DLM_PATH environment variable, IDL_DLM_PATH preference, Dynamically Loadable Modules

Notes


This page has no user notes yet. Be the first one!


This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2014 Exelis Visual Information Solutions