Fill Function

Fills a list with a specified value


The function Fill fills all elements of a new or existing list with the value specified in the second argument.

If a data field is passed in the first parameter, all elements are overwritten with the value of the second parameter.

If a value is passed as the first argument, Fill will create a list of the specified length and fill it with the value of the second argument.


Fill (Data field, fill value)

Fill (Length, filling value)



Fill(a,8)= 8 8 8 8 8

Fill(7,8)= 8 8 8 8 8 8 8