Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can Redim be used to declare a new array ?

Answer Posted / kapil

Yes Redim Can be used to create a new array.
There is no need of the dim statement before using ReDim.


Following Code works :

Redim a(5) as int

a(0) = 3
debug.print a(0)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the tools in visual basic?

1061


To find the current recordposition in data control.

1584


How do I make an animated icon for my program?

1532


How would you use ActiveX Dll and ActiveX Exe in your application?

2113


Which method is preferred to save data like database to the disk?

2394


Write the Steps in Creating an ActiveX Control?

1984


What is the use of Visual Basic Document file?

2343


What is the use of Tabledef?

2030


Which type of object requires this object?

1981


Hi, I am USINg QTP tool for automation. Where VB Script have to use. I want to read a row from the table present in .Doc File and to paste in excel. Could you please assist me or give me the code to get it. I am new in this technology.

2325


What are the properties of datacontrol?

1956


Difference between Tabletype and Snapshot?

1973


How come I get a "No Current Record" error when I use a a Data Control on an empty table?

1524


What is ado in vb?

957


___ argument can be used to make a menuitem into bold.

1836