Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

That being said, if you plan to instantiate a lot of objects, leaving them in memory over a long period of time can degrade performance.

Example

 

Code Block
// Instantiate the MSXML DOM Document object
If SRP_Com(objXmlDoc, "CREATE", "Msxml2.DOMDocument") then
    // Release the object when we're done with it
    SRP_Com(objXmlDoc, "RELEASE")
end else
    Error = SRP_Com("", "ERROR")
end

...