Fill Function
Fills a list with a specified value
Description
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.
Syntax
Fill (Data field, fill value)
Fill (Length, filling value)
Example
a=[1..5]
Fill(a,8)= 8 8 8 8 8
Fill(7,8)= 8 8 8 8 8 8 8