Yes. In the LPARAMETERS statement create a list of the *maximum* number of parameters you will ever pass. Then use PARAMETERS() to determine how many were actually passed. Remember - max parameters is 27.
>So I should define 5 parameters in LPARAMETERS so I could then go to line IF and see if there is a too much parameters and deal with that 'error' on my own?
>
>
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.