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
What is DAO?
What are the different procedures associated with the object?
what is the Difference between Linked Object and Embedded Object?
What is OLEDB?
Types of LockEdits in DAO? 51 .Types of Recordsets.
Is visualvm free?
Explain the working of templates?
How many types of API functions are available in VB?
Write the steps in Creating ActiveX Dll and Active Exe?
What are the properties of datacontrol?
____ is the difference between Listindex and Tab index.
I get a "file not found" error on the IIF function when I distribute by program. Why?
Types of LockEdits in RDO.
How do I make the mouse cursor invisible/visible?
Explain the "cursortype" and "Locktype" in VB?