[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  ParamCount( nProcDeep )-> <nParams>
------------------------------------------------------------------------------


 PARAMETER:

  <nProcDeep>   Is the procedure level to check, like in Clippers PROCLINE
                or PROCNAME functions 


 RETURNS:

  <nParms> is the number of parameters that the target process received.



 DESCRIPTION:

  This function retrieves the number of arguments a certain process has
  received. It works like PCOUNT(), but for all sub levels of a procedure.
  This is used within FiveWin' Errorsys ( SOURCE\FUNCTION\ERRSYSW.PRG )


 EXAMPLE:


    +--------------------------------------------------------------+
    |  /* Retrieve the number of arguments of Test() */            |
    |  Test( nOne, nTwo, cTwo, dThree )                            |
    |  [ ... ]                                                     |
    |  // suppose Test is level 5 on the calling stack :           |
    |                                                              |
    |  MsgInfo( ParamCount( 5 ))   // -> 3                         |
    |                                                              |
    +--------------------------------------------------------------+




See Also: cArgV nArgC GetParam
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson