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
What is ODBC Direct and Microsoft Jet Database Engine ?
What's the difference between MODAL and MODELESS forms?
How can I change the printer Windows uses in code without using the print common dialog? How can I change orientation?
what are the Types of cursors in RDO?
___ VB constant make the menu item in centre.
What are the important components of OLEDB?
Types of LockEdits in DAO? 51 .Types of Recordsets.
Explain the creation project schedule.
___ property used to add a menus at runtime.
I'm getting error message "Reserved Error [-nnnn] ("There is no message for this error")" from Jet Engine 2.0.Why?
Explain about form creation in Visual Basic?
Timer control contains ________ no. of events.
In which areas the Error occurs?
What is the use of command Object?What are the various types of variables?
Explain about arrays?