Obtaining Enabled/Disabled Routine Names

The IDL_SysRtnGetEnabledNames() function can be used to obtain the names of all system routines which are currently enabled or disabled, either due to licensing reasons (i.e., some routines are disabled in IDL demo mode) or due to a call to IDL_SysRtnEnable().

Syntax

void IDL_SysRtnGetEnabledNames(int is_function,  
                         IDL_STRING *str, int enabled) 

Arguments

is_function

Set to TRUE if a list of functions is desired, FALSE for a list of procedures.

str

Points to a buffer of IDL_STRING descriptors to fill in. The caller must call IDL_SysRtnNumEnabled() to determine how many such routines exist, and this buffer must be large enough to hold that number.

enabled

Set to TRUE to receive names of enabled routines, FALSE to receive names of disabled ones.

Result

The memory supplied via str is filled in with the desired names.