ArrayListStatic: Repeat |
Creates a new ArrayList and fills it with the supplied value the specified number of times.
Public Function Repeat( ByRef Value As Variant, ByVal Count As Long ) As ArrayList
The following example creates an ArrayList containing 20 strings with the letter "a".
Set List = ArrayList.Repeat("a", 20)