MGunit documentation

Unit testing for IDL

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

dist_tools/

mg_resolve_routine.pro


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: Thu Feb 17 17:39:31 2011
Lines: 53
Docformat: rst rst