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
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
distinguish between old version and new version QTP features.
Hi How to retrieve data from web element line by line?
How to creating an output value using quicktest professional (qtp)?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
Will down time for server and content maintenance/upgrades be allowed? how much?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
How software automation specialist enter steps in the Expert View?
With what extension you can save the list of tests in a file to run in test batch runner?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
What does mean by Scope of Automation?n How we defined it?
desribe a situation where u faced a stressful situation and how did u cope with it
Can we run test with out adding object in object repository? How it is possible?
can u explain relative path architecture framework in qtp?
explain structured testing? plz guys with exp. do answer