RepeatElement (open)
Return an array with a specific number copies of a value.
Syntax
// Core function, no LOADLIB necessary
VARIANT FUNCTION RepeatElement(VARIANT element, INTEGER count)
Parameters
VARIANT element
Element value to place in the array
INTEGER count
How many copies of element to place in the array
Return value
VARIANT
Array with the specified number of elements.