Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>pcount()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PCOUNT()


Syntax:     PCOUNT()

Purpose:    To determine the number of actual parameters passed to a
            procedure or user-defined function.

Returns:    An integer numeric value.

            PCOUNT() returns the number of parameters passed.  If no
            parameters are passed, PCOUNT() returns zero.

Library:    CLIPPER.LIB


----------------------------------- Examples -------------------------------

   PARAMETERS file
   IF PCOUNT() = 0
      ACCEPT "File to use: " TO file
   ENDIF
   USE &file.


See Also: DO PARAMETERS

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