<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TIniFile.DeleteKey</id>
		<title>TIniFile.DeleteKey - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TIniFile.DeleteKey"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TIniFile.DeleteKey&amp;action=history"/>
		<updated>2026-05-05T23:27:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=TIniFile.DeleteKey&amp;diff=1124&amp;oldid=prev</id>
		<title>Mighty: new page</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TIniFile.DeleteKey&amp;diff=1124&amp;oldid=prev"/>
				<updated>2013-08-23T00:23:12Z</updated>
		
		<summary type="html">&lt;p&gt;new page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; '''procedure DeleteKey(const Section, Ident: string)'''&lt;br /&gt;
  Section: Section in which to look for ''Ident''&lt;br /&gt;
  Ident: Key to be deleted&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This procedure deletes a single key from a [[TIniFile]]&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
''example.ini'' in soldatserver's root folder ('''before the script execution''')&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
[Section1]&lt;br /&gt;
Integer1=2&lt;br /&gt;
Bool1=2013-08-21&lt;br /&gt;
Bool2=2013-08-21 13:48:00&lt;br /&gt;
Bool3=00:00:00&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
script code:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;pascal&amp;quot;&amp;gt;&lt;br /&gt;
var&lt;br /&gt;
  ini: TIniFile;&lt;br /&gt;
&lt;br /&gt;
begin&lt;br /&gt;
  ini := File.CreateINI('example.ini');&lt;br /&gt;
	&lt;br /&gt;
  ini.DeleteKey('Section1','Integer1');&lt;br /&gt;
  ini.UpdateFile;&lt;br /&gt;
	&lt;br /&gt;
  ini.Free;&lt;br /&gt;
end.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
''example.ini'' in soldatserver's root folder ('''after the script execution''')&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
[Section1]&lt;br /&gt;
Bool1=2013-08-21&lt;br /&gt;
Bool2=2013-08-21 13:48:00&lt;br /&gt;
Bool3=00:00:00&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:TIniFile]]&lt;/div&gt;</summary>
		<author><name>Mighty</name></author>	</entry>

	</feed>