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
96 views
What is the use of redim statement in vbscript?
posted May 14, 2014 by Amarvansh

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social 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.
Example:
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
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...