Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » PromtpOK("--");
Re: PromtpOK("--"); [message #22920 is a reply to message #22915] |
Fri, 28 August 2009 19:44   |
|
g6b0r wrote on Fri, 28 August 2009 14:13 | hello,
I found interesting behavior of PromptOK when the string contains -- or ++.
when -- is in the text then "Error: Not in table:" message appears on the message box.
when ++ is in the text then there is empty editbox on the message box.
Is this "normal"? or bug in the qt below TheIde?
(I have 1252 on win).
gabor
|
Hi gabor,
It's not a bug, it's a feature PromptOK (and many other controls in U++) allows to use formated text in QTF format. In this format a lot of characters including + and - have some special meaning. If you want to type just ++ or -- you have to escape them by apostrophe:PromptOK("Ultimate'+'+"); or escape whole group of characters using byte 1:PromptOK("\1whatever--\1");
For more information about QTF see it's manual.
By the way: There is no qt below theide or u++
|
|
|
Goto Forum:
Current Time: Fri May 02 14:18:01 CEST 2025
Total time taken to generate the page: 0.03153 seconds
|