AFILL( )
Inserts a specified value into one or more locations in a declared array, and returns the number of elements inserted.
Syntax
AFILL(<array name>, <exp>
[, <start expN> [, <count expN>]])
<array name>
The name of a declared one- or two-dimensional array to fill with the specified value <exp>.
<exp>
An expression of character, date, logical, or numeric data type to insert in the specified array.
<start expN>
The element number at which to begin inserting <exp>. If you do not specify <start expN>, dBASE Plus begins at the first element in the array.
<count expN>
The number of elements in which to insert <exp>, starting at element <start expN>. If you do not specify <count expN>, dBASE Plus inserts <exp> from <start expN> to the last element in the array. If you want to specify a value for <count expN>, you must also specify a value for <start expN>.
If you do not specify <start expN> or <count expN>, dBASE Plus fills all elements in the array with <exp>.
Description
See the description for fill( ).