Syntax
Public Sub ArrayInitialized(ary() As Variant, value As Variant)
Description
This subprocedure is used to initializes an array by a given value.
Parameters
Key | Description |
ary | Array to initialized, value of type Variant. |
value | Value to set as all array elements,value of type Variant. |
Return value
No returned value.
Sample
Public Sub main () Dim Arr (5) ArrayInitialized Arr, 0 End sub
See Also