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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Diff b/w test scenario's and test Procedures?

2136


Explain QTP using different development techniques ?

925


what is run-time data?

2192


What is text check point and text area check point?

1106


What is data driver in qtp?

1027


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

2287


What are the trigger events in qtp?

1136


How to import a test case present in ".xls" file to TD under a Test set?

1230


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6801


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1969


What are the differences between quicktest professional and winrunner?

1015


What is QTP and the use of QTP in TD?

1094


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

2080


What is use of object spy?

1087


What is the latest version of qtp?

1116