login about faq

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

asked Sep 03 '16 at 13:41

John's gravatar image


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.


answered Sep 05 '16 at 10:05

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 03 '16 at 13:41

Seen: 206 times

Last updated: Sep 05 '16 at 10:05

powered by OSQA