Hello everyone,
I've been trying to build an array using a loop, but I keep encountering an error: "Invalid index." Here's how my loop looks like:
Could you please help me identify what I'm doing wrong?
My array should look like this at the end
Thank you in advance.
I've been trying to build an array using a loop, but I keep encountering an error: "Invalid index." Here's how my loop looks like:
CODE:
#Requires Autohotkey v2.0
#SingleInstance Force
Ier := []
Aer := ["a", "b", "c", "d", "e", "f","g","h"]
Loop 8
{
Ier[A_index] := []
Ier[A_Index].Push(Aer[A_index])
}
MsgBox Ier[2][1]
Could you please help me identify what I'm doing wrong?
My array should look like this at the end
CODE:
Ier[[a],[b],[c]]
Thank you in advance.
Statistics: Posted by Loop — Today, 17:23