NullCount
- count consecutive Null values

Miscellaneous functions
(AFL 3.90)


SYNTAX NullCount( array, mode = 1 )
RETURNS NUMBER
FUNCTION Counts the number of consecutive nulls at the beginning of the array (mode = 1), at the end of the array (mode=2), from both ends (mode=3) and all nulls in the array (including non-consecutive) (mode=0)
EXAMPLE x = MA( C, 20 );
printf("Empty values at the beginning = " + NullCount( x ) );
SEE ALSO

References:

The NullCount function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference