Jump to content

Recommended Posts

Posted

I have an array that I want to declare as null at the end of a script, I have seen in other languages where you can just do:

$Variable = Null

What is the equivalent in AutoIt? I have a script that always runs in the background, that I call every once in awhile. The problem is that the arrays that are created can get large and I need those memory addresses to be cleared so that I am not always allocating 30 MBs of RAM to this array.

Thanks.

Posted

I have an array that I want to declare as null at the end of a script, I have seen in other languages where you can just do:

$Variable = Null

What is the equivalent in AutoIt? I have a script that always runs in the background, that I call every once in awhile. The problem is that the arrays that are created can get large and I need those memory addresses to be cleared so that I am not always allocating 30 MBs of RAM to this array.

Thanks.

Maybe i don't understand correctly but wouldn't this be it?

Global $Variable= "" ;or Global $variable=0

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...