Jump to content
Sign in to follow this  
John117

read array row [0] Col 1 only

Recommended Posts

John117

Hey, I've went over the help for this.

I have written a webpage to an array and I can display the entire array . . .

I would like to only use specific rows and columns of the array, but don't know how to read a specific section of an array.

Can anyone give me any snipits of how one could define or call a specific row and column of any array?

I dont need a fully working product, just something like:

'MsgBox = Range("A1")'

-of course that is Excel VBA but serves the example of Autoit help needed :P

Thanks!

David

Share this post


Link to post
Share on other sites
Nahuel

$Array[$Row][$col]

it's that simple :P

Example:

Dim $Array[2][2]

$Array[0][0]="hello"
$Array[0][1]="bye"

MsgBox(0,"",$Array[0][1])

Share this post


Link to post
Share on other sites
John117

$Array[$Row][$col]

it's that simple :P

Example:

Dim $Array[2][2]

$Array[0][0]="hello"
$Array[0][1]="bye"

MsgBox(0,"",$Array[0][1])
;) thanks a ton! :)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.