Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can we retain values in an array without destorying previous values
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Use "Preserve" keyword to retain value

Below is the example
Code:
a=array("a","b","c","d","e")

msgbox a(0)  'It displays a

ReDim Preserve a(15)
msgbox a(0)  'it retains value
Reply


Messages In This Thread
RE: How can we retain values in an array without destorying previous values - by ssvali - 06-22-2012, 05:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What are the QTP Runtime values kotaramamohana 0 2,133 05-21-2012, 10:21 AM
Last Post: kotaramamohana
  weblist values to display with help of datatable or msgbox kanna79 2 4,222 12-22-2009, 06:46 PM
Last Post: bfakruddin

Forum Jump:


Users browsing this thread: 1 Guest(s)