Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>countgets()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 COUNTGETS()
 Determines the number of posted GET fields
------------------------------------------------------------------------------
 Syntax

     COUNTGETS() --> nFields

 Returns

     COUNTGETS() returns the number of currently posted fields within a READ.

 Description

     COUNTGETS() determines how many GET fields are currently open in a VALID
     UDF or within a KEYTRAP procedure.  Posted means the GET fields have
     been recently defined before with @ ...GET ...

 Examples

     .  Display the number of GET fields that are currently posted
        from within a valid UDF:

           @ 10, 10 GET Field1
           @ 10, 20 GET Field2 VALID MYFUNC()
           @ 10, 30 GET Field3
        READ
        RETURN

     .  Returns COUNTGETS() within the UDF:

        FUNCTION MYFUNC
           ? COUNTGETS()          // Result: 3
           RETURN(.T.)


See Also: CURRENTGET()

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