MGunit documentation

Unit testing for IDL

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

dist_tools/

mg_hasroutine.pro

Routines

result = mg_hasroutine_checkroutine(list, routine)

Checks to see if routine is in list.

result = mg_hasroutine(routine [, /is_system] [, /is_function])

Determine if a given routine name is available to call.

Routine details

topmg_hasroutine_checkroutine

result = mg_hasroutine_checkroutine(list, routine)

Checks to see if routine is in list.

Return value

1 if routine in in list; 0 if not

Parameters

list in required type=strarr

list of routines to check against

routine in required type=string

name of routine to check (case-insensitive)

topmg_hasroutine

result = mg_hasroutine(routine [, /is_system] [, /is_function])

Determine if a given routine name is available to call.

Parameters

routine in required type=string

routine name to look up

Keywords

is_system out optional type=boolean

set to a named variable to determine if the routine is a system routine

is_function out optional type=boolean

set to a named variable to determine if the routine is a function

File attributes

Modification date: Wed Apr 22 23:29:01 2009
Lines: 62
Docformat: rst rst