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
Is it possible to Manipulate data through flexgrid? Explain.
How would you navigate between one document to another document
Why doesn't "my string" & Chr$(13) do what I want?
___ VB constant make the menu item in centre.
What is the use of Scalewidth and ScaleHeight Proeperty?
How would you attach pictures in column headers of List View Control?
How can you Add API functions to your Application?
Is it possible to set a shortcut key for label?
What is data control in vb?
What is Mask Edit and why it is used?
How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?
How can you get selected file from file system Control?
___,__,___ are the type of combo box?
Explain Default cursor Type and LockEdit type in DAO?
Is a foo VBX/DLL available as shareware/freeware?