Propose new features and changes
Posts: 3263
Joined: 11 Jan 2017, 17:59


21 Jan 2019, 17:03

i know there are functions out there that already do this, but i think itd be cool if this was in by default

for the time being, whats the definitive way to deep clone anyway? with all circular reference mumbo jumbo etc. taken into account, that is
i found this function by geekdude: https://autohotkey.com/board/topic/85201-array-deep-copy-treeview-viewer-and-more/
is this it?
Posts: 1944
Joined: 29 Sep 2013, 18:35

Re: Object.DeepClone()

21 Jan 2019, 18:29

You can try ObjDump and ObjLoad which are included in AHK_H.
Posts: 3263
Joined: 11 Jan 2017, 17:59

Re: Object.DeepClone()

22 Jan 2019, 01:49

yep those work pretty well, thanks for the tip
although, i still think an _h agnostic native solution is in order
User avatar
Posts: 6904
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Object.DeepClone()

03 Jul 2019, 09:37

+1 (either built-in with whichever name, or a documentation example)

Discussion here:
Duplicate an array and change the value - AutoHotkey Community
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 4 guests