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 are the tools in visual basic?
To find the current recordposition in data control.
How do I make an animated icon for my program?
How would you use ActiveX Dll and ActiveX Exe in your application?
Which method is preferred to save data like database to the disk?
Write the Steps in Creating an ActiveX Control?
What is the use of Visual Basic Document file?
What is the use of Tabledef?
Which type of object requires this object?
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.
What are the properties of datacontrol?
Difference between Tabletype and Snapshot?
How come I get a "No Current Record" error when I use a a Data Control on an empty table?
What is ado in vb?
___ argument can be used to make a menuitem into bold.