vbscript empty memory from defined variable
-
hi, i want to know if there is a way in vbscript to empty and remove a declared variable from the memory after defining it, for example: Dim var1 var1 = "value" i want not only to empty the value assigned to the var1 variable, i want to remove it from the memory to free it to avoid the space reserved to it in the moemory, I found that i can use empty and nothing, do they enough to free the memory??? :doh:
Thanks alot Hamody
-
hi, i want to know if there is a way in vbscript to empty and remove a declared variable from the memory after defining it, for example: Dim var1 var1 = "value" i want not only to empty the value assigned to the var1 variable, i want to remove it from the memory to free it to avoid the space reserved to it in the moemory, I found that i can use empty and nothing, do they enough to free the memory??? :doh:
Thanks alot Hamody
You should post this in a more appropriate forum. One dedicated to VBScript.
-
You should post this in a more appropriate forum. One dedicated to VBScript.
what do u mean? don't u understand my question?
Thanks alot Hamody
-
what do u mean? don't u understand my question?
Thanks alot Hamody
Mohammad Daba`an wrote:
what do u mean?
This is the C# forum. Not the VB Script forum.
Mohammad Daba`an wrote:
don't u understand my question?
Yes, I understand your question.
-
Mohammad Daba`an wrote:
what do u mean?
This is the C# forum. Not the VB Script forum.
Mohammad Daba`an wrote:
don't u understand my question?
Yes, I understand your question.
where is the vbscript forume
Thanks alot Hamody
-
where is the vbscript forume
Thanks alot Hamody
Next time, ask in the Visual Basic Forum. Yes and no. It depends on the type of the variable and it's context. No, there is no way to release it. You don't have to worry about it. Just let the runtime take care of it.
Dave Kreskowiak Microsoft MVP - Visual Basic