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
How do I force a file dialogue box to reread the currect disk?
What are the types of line styles available in Treeview Control?
what is the Difference between Dynaset and Snapshot?
Write the steps in Creating ActiveX Dll and Active Exe?
What are the rules which should be followed while naming a variable in VB?
How do I use GetPrivateProfileString to read from INI files?
How to use advanced data-bound controls.
What do you mean by provider?
What are the types of line styles available in Treeview Control?
how to use unicode data in vb6 regarding to telugu language, my output is in only telugu language
How come I get a "No Current Record" error when I use a a Data Control on an empty table?
What is the use of OLE?
What is data binding in vb net?
What is constructors and distructors.
How would you create your application in DHTML?