Can Redim be used to declare a new array ?

Answer Posted / abdul khadeer

We can reinitialize the array by using REDIM but the
condition is before data, what ever the array is having
that is going to be deleted or reinitialized to zero.

So there is one solution for this:

For Example We can use the "Preserve" keyword with the
redim to reintialize the Array with old values still exists.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Msgbox Statement and MsgboxQ function?

1451


Which type of object requires this object?

1507


How do you avoid the "Invalid use of null" error when reading null values from a database?

1127


What are the Internet tools available in VB 6.0?

2403


What is OLEDB?

1552






What is Pseudocode?

924


What is data binding in vb net?

501


How many tabs in a tabbed dialog do you consider appropriate?

1698


Is it possible to change menu runtime using API? If yes? Specify the function names.

1545


1s it posible to Create Tables Through Querydef?

1716


Explain the "cursortype" and "Locktype" in VB?

3796


What is dao in vb?

511


Explain about form creation in Visual Basic?

571


What is a toolbox in visual basic?

516


How would you map properties to controls by using ActiveX Control Interface Wizard?

1412