Jump to content

Array Count


blumi
 Share

Recommended Posts

You mean add them together? You do that the same way you do everything with an array, a loop.

Global $aiArray[3] = [14, 13, 23]

Global $iResult
For $iX = 0 To UBound($aiArray) -1
    $iResult += $aiArray[$iX]
Next
ConsoleWrite($iResult & @CRLF)
Link to comment
Share on other sites

Read my lips

Posted Image :graduated:

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

Okay, that's it, thought it would be easy. ;-)

Never used this function before, just a beginner with autoit.

Thank you.

There's a Array tutorial in the wiki, you may want to read it :graduated:
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...