Page 1 of 1

Textbox Append with Quotes issue

PostPosted: Tue Jun 06, 2017 2:44 pm
by chrisr
Good morning,
I have a quick question on TextboxAppend. If I want to append "BLKVID -m 1[CR][LF]") quotes included. I end up with a string that doesnt work.

WDTextboxAppend(1,""BLKVID -m[CR][LF]")")

obviously that tosses a bunch of errors in the debug logger. Is there a way around this, that i can still have quotes appended to the textbox?

Ultimately I'd like to Execute a script in the textbox that is TCPSend(1,"BLKVID -m[CR][LF]")

I've tried this string, got it to place text, but minus the qutoes

WDTextboxAppend(1,("BLKVID -m[CR][LF]"))

Thanks for any insite!

Re: Textbox Append with Quotes issue

PostPosted: Tue Jun 06, 2017 4:02 pm
by chrisr
FIGURED IT OUT, Thanks for reading.

And this is it:

WDTextboxAppend(1,'"Hello World"')

Single Quotes followed by Double quotes.

http://www.coolux.de/root/downloads/sup ... les_wd.htm

Read under String, is what gave me the idea to try it.

If you want to use quotation marks as part of your string, use
the other kind for declaring the string.