Jump to content

Need some help with Arrays for noob :/


Recommended Posts

Hi.

Today I started to learn Arrays ... and I have one question till now ...

Is it possible to use function _ArrayAdd in 2D or more ...

I do this:

Dim $a[10][2]

$a[0][0] = "x"
$a[0][1] = "y"
$a[1][0] = "22"
$a[1][1] = "13"
_ArrayAdd($a, "lal")
_ArrayDisplay($a)

So, IF I run, I got x,y,22,13 .... with no lal, so is it possible to use _ArrayAdd here, and if it is, HOW ?

Thx for answers

Link to comment
Share on other sites

  • Developers

Is it possible to use function _ArrayAdd in 2D or more ...

Before anyone answers you: What do you think? Did you check it before asking? Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

yes ... I tryed _ArrayAdd($a[2][1], "lal") and it doesn't works :/

I did not asked if you tried but if you checked. By that I mean open the helpfile and check what it says.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...