Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array function for Static Array
#1
Not Solved
Hi,

Will it possible to assign a value to static array by Array function. I tried but it does not work

Code:
dim a(3)
a=Array('Value1", 2,3)
Reply
#2
Not Solved
I thought it would be like,

Code:
Dim a(3)
a(0) = "anbu"
a(1) = 1234

etc...
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Not Solved
So we cannot use Array function rite....
I would like to add some more points...
1. We can not redefine to by Redim function...
2. Array and Redim, Preserve for Dynamic array not for static.....
Kindly confirm..................Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP/UFT - Storing Multiple Arrays In An Array Eitel13 0 1,805 07-17-2018, 04:37 PM
Last Post: Eitel13
  array to be captured and displayed Anu209 0 1,249 06-24-2017, 10:19 AM
Last Post: Anu209
  Unable to use array in QTP amit25007 2 3,319 01-25-2016, 05:10 PM
Last Post: amit25007
  Using static descriptive programming how to count no. of objects on any webpage alpha1 4 6,989 08-11-2015, 08:48 PM
Last Post: kotaramamohana
  How to Verify Static Object Text which is changing Dynamically with Expected Result johnny77 0 3,305 06-25-2015, 11:32 AM
Last Post: johnny77

Forum Jump:


Users browsing this thread: 6 Guest(s)