[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FUNCTION AKOUNT()
Short:
------
AKOUNT() Counts exact matches of value in array
Returns:
--------
<nMatches> => Number of matches
Syntax:
-------
AKOUNT(aTarget,expWhatever)
Description:
------------
Counts # of exact matches of <expWhatever> in
<aTarget>. <expWhatever> can be of any type.
Examples:
---------
AFIELDS(aFields,aTypes)
nChar := AKOUNT(aTypes,"C") // count C fields
nNum := AKOUNT(aTypes,"N") // count N fields
nDate := AKOUNT(aTypes,"D") // count D fields
Notes:
-------
See also AMATCHES() which allows a code block.
Source:
-------
S_AKOUNT.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson