2.0-beta.1 - Array.Push()

Discuss the future of the AutoHotkey language
just me
Posts: 9576
Joined: 02 Oct 2013, 08:51
Location: Germany

2.0-beta.1 - Array.Push()

Post by just me » 13 Oct 2021, 04:34

Changes from v1.1 to v2.0 -> Array:
Usage of Clone, Delete, InsertAt, Pop, Push and RemoveAt is basically unchanged.
I didn't use Array.Push() in v1.1 whenever possible. In v2 it's more complicated to add elements to an existing array, so I tried Array.Push() and noticed, that it doesn't return an index any more. Is this behaviour intended?

lexikos
Posts: 9690
Joined: 30 Sep 2013, 04:07
Contact:

Re: 2.0-beta.1 - Array.Push()

Post by lexikos » 13 Oct 2021, 06:03

I think it was, but I don't remember the reason at the moment.

Post Reply

Return to “AutoHotkey Development”