Jump to content

_ArrayDisplay doesn't work, adding "text 1" to $line[0]


Recommended Posts

#include <Array.au3>
#include <MsgBoxConstants.au3>


Global $i = 0
Global $lineX[5]
;_ArrayDisplay($lineX, "Array dissplay")
Global $timerinit_lineX[5]


While $i <= 4
        ;MsgBox(0, "$i: ", $i, 0)
        Global $lineX[$i] = "comeon" & $i
        ;MsgBox(0, "$lineX[$i]", $lineX[$i], 0)
        Global $timerinit_lineX[$i] = timerinit()
        $i = $i + 1

sleep(1000)
Wend

_ArrayDisplay($lineX)
;_ArrayDisplay($timerinit_lineX)
MsgBox($MB_SYSTEMMODAL, "Items 1-3", _ArrayToString($lineX, @TAB, 1, 3))

Hello,
i want to add
"text 0" to $lineX[0]

"text 1" to $lineX[1]

"text 2" to $lineX[2]

"text 3" to $lineX[3]

"text 4" to $lineX[4]

he does not add,
_arrayDisplay does not work

what is wrong, please?

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...