Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Escape special char sequence in string
#3
Thanks VIg, but either I don't understand how that will help or I didn't explain my problem very well...

If you run the short macro I've pasted above and enter a word in the input box (in this example I used "var1"), the text written to the QM output window would look like this:

out "var1 = <need to insert escaped percent+s here>" var1

This is close to what I need, except instead of the "<need to insert escaped percent+s here>" part, I actually want the characters "%s". The "<need to...>" part is there just to show where I need help.

In other words, if it was done correctly, upon running the macro and entering the word "var1" in the input box, the text printed to the QM output window should look exactly like this:

out "var1 = %s" var1

Is that any clearer?

Thanks!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)