ReDim statement is used when we use dynamic array. i.e. to define size of an array dynamically. If you want to preserve the previously added elements in an array, you can use keyword preserve.
Using ReDim statement we can change the size of an array in VBScript.I have given you example how to use ReDim.
Suppose you declare an array Dim Clients(50) Now if you want to change the size of client than you can perform this
Task with the help of ReDim Like that: