loo_Xml = create oleobject li_rc = loo_Xml.ConnectToNewObject("Chilkat_9_5_0.Xml") if li_rc < 0 then destroy loo_Rest destroy loo_Xml MessageBox("Error","Connecting to COM object failed") return end if li_Success = loo_Xml.LoadXml(ls_ResponseXml) Write-Debug "AAPL LastPrice: " + loo_Xml.GetChildContent("LastPrice")
when compile return undefine variable: write-debug
I don't know why "Write-Debug" was used. I'm not a PowerBuilder programmer myself, but the general intent of the the "Write-Debug" is to output to a console of some sort (to do debug output). You can replace "Write-Debug" with anything that emits output to wherever you desire (or you can remove it altogether). I hope that helps.
I'll try to find a suitable alternative to "Write-Debug" and then regenerate the examples. If you have any suggestions, please let me know.