You can specify more parameters (up to 27) for your program and than use PCOUNT() function to check.
>Hi
>
>I'm trying to control errors in my exe, but the error is with parameters, before on error command
>*-- MAIN
>parameters tPar1,tPar2, <b>tPar3, ..., tPar27</b>
>
>on error ...
IF PCOUNT() > 2
ENDIF
>calling the exe produce an error
>
>myexe.exe val1 val2 val3
>
>How can I handle multiple parameters, and this error?
>
>
>TIA
--sb--