top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is the use of redim statement in vbscript?

+2 votes
What is the use of redim statement in vbscript?
posted May 14, 2014 by Amarvansh

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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:

ReDim Customers(70)
answer May 15, 2014 by Mishthy Mukherjee
Similar Questions
+1 vote
+3 votes

While(0) means dont enter into it, but why you want to have while(0) in c code. Any suggestion.

Asked in the interview today.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.