Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Close an Object Null String zero 0 Drop DropWild
IMPORTANT: Most COM Automation objects support some method that closes the object and the application that created it. Since COM objects can use a significant amount of memory, it is a good idea to explicitly close an object when you no longer need it. To close an object. Use the appropriate method (most objects support the Close method or the Quit method).
For example:
;Closes the object. objchart.Close ;Closes the application that created the object. objchart.Quit
When WIL processing for an object is complete, set the object variable to a null string or 0 (zero) to free WIL processor memory. Like this:
objchart = ""or
objchart = 0or
Drop( objchart )
Article ID: W18016
Filename: Close an Object.txt
File Created: 2014:07:18:09:51:38
Last Updated: 2014:07:18:09:51:38