Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help on arrays
#2
Solved: 11 Years, 4 Months ago
You should Redim at the time of array declaration as well
Code:
[b]ReDim[/b] work(2)
work(0) = "Mon"
work(1) = "Tue"
work(2) = "Wed"
Erase work
ReDim work(5)
work(3) = "Fri"
PRINT work(4)
Reply


Messages In This Thread
Help on arrays - by AutomationTester2011 - 07-05-2011, 01:43 PM
RE: Help on arrays - by rajpes - 07-05-2011, 03:36 PM
RE: Help on arrays - by AutomationTester2011 - 07-05-2011, 03:48 PM
RE: Help on arrays - by rajpes - 07-05-2011, 04:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to convert three arrays into just ONE array? Arena 2 4,895 04-10-2012, 09:35 AM
Last Post: Arena
  Editing java arrays in QTP davey2582 2 4,392 12-21-2011, 07:24 PM
Last Post: davey2582
  Runtime java object arrays EclipseDev 0 2,049 07-02-2008, 07:15 PM
Last Post: EclipseDev

Forum Jump:


Users browsing this thread: 3 Guest(s)