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 at 13:41

John's gravatar image

John
1


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.

link

answered Sep 05 at 10:05

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×62

Asked: Sep 03 at 13:41

Seen: 150 times

Last updated: Sep 05 at 10:05

powered by OSQA