String Array Declaration - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: String Array Declaration (/Thread-String-Array-Declaration) |
String Array Declaration - Bhuvana - 01-07-2020 Dear Experts Need help I have worked in Peoplecode (which is nothing but a Ctrl-C+Ctrl-V) of Java, but new novice to VB Script and QTP UFT My requirement is - I need to declare a string array, enter the values in it based on a 'For-Next' loop and then later, again retrieve the values Can anyone kindly provide the syntax for the same Its very urgent Any help is appreciated Kindly note - I did google and got the syntax for the following - Dim myArray() ReDim myArray(1) 'Initialize the array But not sure how to store & retrieve the values of the array Kindly reply ASAP Many Thanks Bhuvaneshwari Dharmaraj |