Jonathan,
>We don't use the "PROCEDURE ProcName(param1,param2)" anywhere in our code, but we were having problems with the PARAMETERS() function returning incorrect results. It was pretty intermittent, and we were unable to determine why it returned incorrect results the times that it did. After switching to PCOUNT(), we haven't had a problem yet.
Maybe there was an ONKEY routine, or a timer-fired routine, that was causing the PARAMETERS() to point to the wrong place?