Jump to content
Sign in to follow this  
DoctorSLO

Need some help with Arrays for noob :/

Recommended Posts

DoctorSLO

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

Share this post


Link to post
Share on other sites
Jos

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 Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
DoctorSLO

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

Share this post


Link to post
Share on other sites
Jos

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 Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
DoctorSLO

oh, ok I see :)

I didn't check the Return Value topic :/

ty sry

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  

×