Student Mode Code Display

Welcome to the Fraternity!

Commenting has been enabled. You can comment on all the Code Items now.

Array Redim Preserve


Add This Code to My Favourite List
Enter Email

Contributed By admin
Date 2016-05-14 01:55:10

Dim arr()
Redim arr(2)

arr(0) = 1
arr(1) = "Akash"
arr(2) = "Sravanti"



For i=0 to ubound(arr)
	msgbox arr(i)
Next


'change the size
Redim preserve arr(3)
arr(3) = "vaibhav"

msgbox " New Values"
'Print again
For i=0 to ubound(arr)
	msgbox arr(i)
Next

Download Above Code

Comments:



Add your comments...
Name : *      
Email : *      
The content of this field will be kept private and will not be shown publicly

Your Comment/Answer *

Enter the text present in this box : *