>Yes, you have to declare as much parameters as the maximum expected, but you can know the actual number of parameters passed by using pCount(). Checking for the first logical FALSE could be misleading because it could be a valid parameter.
Not in the passing of parameters to an .EXE from a command prompt. All parameters are passed as character values, so a logical would still mark the first one not actually passed.