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?
Object.DeepClone()
Re: Object.DeepClone()
yep those work pretty well, thanks for the tip
although, i still think an _h agnostic native solution is in order
although, i still think an _h agnostic native solution is in order
Re: Object.DeepClone()
+1 (either built-in with whichever name, or a documentation example)
Discussion here:
Duplicate an array and change the value - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=65937
Discussion here:
Duplicate an array and change the value - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=65937
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Who is online
Users browsing this forum: Valkyrie666 and 35 guests