mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

dist_tools/

mg_resolve_routine.pro


Routines

top mg_resolve_routine

mg_resolve_routine, routine [, /resolved] [, _extra=keywords]

Routine to resolve a given routine without crashing.

Parameters

routine in required type=string

name of routine to resolve

Keywords

resolved out optional type=boolean

set to a named variable to find out if the routine was resolved

_extra in optional type=keywords

keywords to RESOLVE_ROUTINE

Examples

For example, try:

IDL> mg_resolve_routine, 'mg_src_root', resolved=resolved, /either IDL> help, resolved RESOLVED BYTE = 1 IDL> mg_resolve_routine, 'mg_fake_routine', resolved=resolved, /either IDL> help, resolved RESOLVED BYTE = 0
Note that RESOLVE_ROUTINE would have crashed in the second call to MG_RESOLVE_ROUTINE.

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 17
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.