Can Redim be used to declare a new array ?
Answer Posted / amy
Array's and strings are immutable..ie...the same array and
string cannot be increased or decreased but a new memory(a
new size can be declared here) is allocated and by using the
preserve keyword the old data is copied onto to the new array.
Now copying from old to new is lengthy procedure...though it
happens internally it will still have a major impact on the
performance of the program. To overcome this we can go for
Collections in Array's and String builder for strings.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to control the file?
How can you determine performance standards?
Is visual basic case sensitive?
How do I make the mouse cursor invisible/visible?
How would you create properties in ActiveX Control?
Explain about the basic features of Visual basic?
what are the Differences between Recordset and Resultsets?
What do you know about user forms.
Recordset object consists what?
what is the Property used to add a menus at runtime?
How do I do Peek and Poke and other low-level stuff?
Why does everybody say I should save in TEXT not BINARY?
I'm getting error message "Reserved Error [-nnnn] ("There is no message for this error")" from Jet Engine 2.0.Why?
Is it possible to Manipulate data through flexgrid? Explain.
What are the rules which should be followed while naming a variable in VB?