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
Pingback: SP Array Functions | Viva Clipper !
Pingback: SP Functions | Viva Clipper !