Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can we change(increase or decrease)the size of a array
variable with out loosing the previous values



How can we change(increase or decrease)the size of a array variable with out loosing the previous ..

Answer / pratap h s

Dim a(10) is array declared

if we want to change the size of array it should be
declared with redin as below

ReDim A(10)

to preserve the contents of array we need to use preerve
keyword as below

ReDim Preserve A(10)

above line is Answer ,,,, by declaring array as above it
will preserve the valus

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

Explain how you can replace string in qtp?

0 Answers  


How to export data present in Datatable to an ".xls" file?

3 Answers  


Why do we go for Qtp? What are the advantages of qtp? Diff between winrunner and Qtp?

3 Answers   Symphony,


how do you do database testing in qtp

5 Answers   NIIT,


with out object repository i need to launch IE and then navigate to a login page and then operate the objects within the page. How will be the script?

3 Answers   Ordain Solutions,


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

0 Answers  


What is debugging? How you debug your script?

0 Answers  


1. Can anyone help me with recovery scenarios, each type with examples and also what is on error resume next?

1 Answers  


what is error and fault in terms of software quality?

0 Answers   TCS,


where we save the scripts created in one project?

6 Answers   IBM,


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

0 Answers  


How to capture dynamic objects in qtp like mark up text

3 Answers  


Categories