Home » Community » Newbie corner » [SOLVED] ERROR: Not in table (destructor clobbered?) (Facing this exception, and the dtor doesn't get called)
Re: ERROR: Not in table (destructor clobbered?) [message #52788 is a reply to message #52781] |
Mon, 25 November 2019 00:06   |
Oblivion
Messages: 1226 Registered: August 2007
|
Senior Contributor |
|
|
Hello Frank,
I can't really comment much on the cause of the actual error as I don't have a sample code to inspect, but what you describe here might be caused by the text your code passes to Prompt. (PromptOK).
AFAIk, the "Not in table" error is thrown when a qtf text doesn't contain a required element, or by a malformed qtf text.
When you pass a C string (a string with typical whitespaces or ANSI control codes (a chr < 0x20), or a string that can have characters used in QTF commands, such as "[", etc.) to a QTF-native widgets, e.g prompts, etc., you need to use DeQtf() function to escape the aforementioned control codes:
E.g.
String text = "Hello world\nThis is U++";
PromptOK(DeQtf(text));
Best regards,
Oblivion.
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Mon, 25 November 2019 00:16] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Aug 25 12:16:51 CEST 2025
Total time taken to generate the page: 0.06036 seconds
|