Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

PCOUNT()

Retrieves the number of arguments passed to a function.
---------------------------------------------------------------------------------

 Syntax

        PCOUNT() --> <nArgs>  

 Arguments

        None    

 Returns

        <nArgs>   A number that indicates the number of arguments 
                  passed to a function or procedure.

 Description

      This function is useful to check if a function or procedure  has
      received the required number of arguments.

 Examples

      See Test
  

 Tests

      function Test( xExp )
         if PCount() == 0
            ? "This function needs a parameter"
         else
            ? xExp
         endif
      return nil
  

Status

      Ready

 Compliance

      PCOUNT() is fully CA-Clipper compliant.

 Files

      Library is vm



See Also: HB_PVALUE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson