<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://scarlet.deltasoft.com/index.php?action=history&amp;feed=atom&amp;title=Error_messages</id>
	<title>Error messages - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://scarlet.deltasoft.com/index.php?action=history&amp;feed=atom&amp;title=Error_messages"/>
	<link rel="alternate" type="text/html" href="https://scarlet.deltasoft.com/index.php?title=Error_messages&amp;action=history"/>
	<updated>2026-05-29T18:43:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://scarlet.deltasoft.com/index.php?title=Error_messages&amp;diff=448&amp;oldid=prev</id>
		<title>Diccon: New page: Programs covered by this note: *k_error *sysmsg  When something goes wrong the C code generally calls k_error (in src/k_error.c) with a text message pulled from the Pick file MESSAGES by s...</title>
		<link rel="alternate" type="text/html" href="https://scarlet.deltasoft.com/index.php?title=Error_messages&amp;diff=448&amp;oldid=prev"/>
		<updated>2009-08-04T15:09:37Z</updated>

		<summary type="html">&lt;p&gt;New page: Programs covered by this note: *k_error *sysmsg  When something goes wrong the C code generally calls k_error (in src/k_error.c) with a text message pulled from the Pick file MESSAGES by s...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Programs covered by this note:&lt;br /&gt;
*k_error&lt;br /&gt;
*sysmsg&lt;br /&gt;
&lt;br /&gt;
When something goes wrong the C code generally calls k_error (in src/k_error.c) with a text message pulled from the Pick file MESSAGES by sysmsg() (src/messages.c).&lt;br /&gt;
&lt;br /&gt;
Each entry in MESSAGES is keyed by the QM internal error code. These messages contain C style printf codes (eg %d for an integer %s for a char string) which can be passed into k_error as additional params and will be inserted into these messages. This method allows a generic message to be displayed with circumstantial information inserted. &lt;br /&gt;
&lt;br /&gt;
Ironically it does mean the Messages in the data file are fairly well tied to the hard coded number and type of params that are passed to k_error.&lt;br /&gt;
&lt;br /&gt;
When changing messages beware not to alter the %&amp;#039;s such that places you aren&amp;#039;t working on can still call k_error meaningfully.&lt;/div&gt;</summary>
		<author><name>Diccon</name></author>
		
	</entry>
</feed>