Coyote's Guide to IDL Programming

Parameter Limits in IDL Programs

QUESTION: Is there a limit to the number of arguments or parameters, either positional or keyword, that I can define for an IDL procedure or function?

ANSWER: Yes. According to the Research System technical support staff, you can have a maximum of 64 procedure or keyword parameters or arguments defined for an IDL procedure or function. If you wish to have more than that (WIDGET_CONTROL has over 90!), then you will have to write your program in C and add it to IDL using the LinkImage command.

Google
 
Web Coyote's Guide to IDL Programming