Jump to content

To read a string from an array and populate the array value in a form


 Share

Recommended Posts

I am trying to read a value from an array and trying to populate the array value in a form text field.

I recorded a script of filling a gui form.

I created an array for each text field in the gui form.

I gave a loop to execute the form.

For each iteration i tried calling the values from the Array Index position (Used 'Send()' function)

But it didnt work.

Can anyone tell me a function to call an array value and fill it in the 'textfield' of a gui form through a loop?

Thanks in advance

Link to comment
Share on other sites

kk, no probs...

It wasn't really a detailed answer as I was unsure of what you'd already tried....

from the helpfile:

An example:

Let's say you want to store these series of characters: "A", "U", "T", "O", "I", "T" and "3".

You could use seven separate variables to do so, but using an Array is more efficient:

$Array[0]="A"
$Array[1]="U"
..etc..
$Array[6]="3"

To access a specific value in an Array, you only have to know the index number:

$MyChar=$Array[2]

This results in $MyChar containing the letter "T" (See also: 'operators').

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...