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
which property used to add a menus at runtime?
Explain about an event-driven programming language?
___ Property is used to count no. of items in a combobox.
Through which protocol OLEDB components are interfaced?
Write the steps in Creating ActiveX Dll and Active Exe?
What is OLEDB?
How would you attach an ActiveX control in Your Application?
Explain about the creation of EXE files with Visual Basic?
what is the Difference between Recordset and Querydef?
What is understand in resource tracking?
1s it posible to Create Tables Through Querydef?
How would you create properties by using class Builder Wizard?
What are the different procedures associated with the object?
Is a foo VBX/DLL available as shareware/freeware?
What is a toolbox in visual basic?