How to release the memory occupied by an array?

Get help with using AutoHotkey and its commands and hotkeys
afe
Posts: 309
Joined: 06 Dec 2018, 04:36

How to release the memory occupied by an array?

17 Apr 2019, 09:57

Hello,

How to release the memory occupied by an array?
Is the correct way to specify an array name in VarSetCapacity()?

Code: Select all

VarSetCapacity(ArrayName, 0)
swagfag
Posts: 2231
Joined: 11 Jan 2017, 17:59

Re: How to release the memory occupied by an array?

17 Apr 2019, 11:09

VarSetCapacity(ArrayName, 0) works, though idk if theres any tangible benefit to it

Return to “Ask For Help”

Who is online

Users browsing this forum: creative, DataLife, Evil-e, SonGokuBg, TAC109, vsub and 38 guests