Versions Compared


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


The CREATE, RELEASE, and SET services return a success/failure value, so it's easy to know when to check the latest error. The GET and CALL services return property and method values respectively, so the latest error depends on whether or not these services returned unexpected results.



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")