Sign in to follow this  
Followers 0
DoctorSLO

Need some help with Arrays for noob :/

5 posts in this topic

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



#2 ·  Posted (edited)

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

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                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

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

Share this post


Link to post
Share on other sites

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


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                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

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  
Followers 0