<?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=TStringList.Values</id>
		<title>TStringList.Values - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TStringList.Values"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TStringList.Values&amp;action=history"/>
		<updated>2026-05-03T09:55:15Z</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=TStringList.Values&amp;diff=1182&amp;oldid=prev</id>
		<title>Mighty: new page</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TStringList.Values&amp;diff=1182&amp;oldid=prev"/>
				<updated>2013-08-24T17:33:29Z</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; '''property Names[Name: String]: String'''&lt;br /&gt;
  Access mode: RW&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
{{link|TStringList|Values}} represents the value parts of the name-value pairs in the list.&lt;br /&gt;
===Reading===&lt;br /&gt;
When reading this property, if there is a name-value pair in the list of strings that has name part ''Name'', then the corresponding value is returned. If there is no such pair, an empty string is returned.&lt;br /&gt;
===Writing===&lt;br /&gt;
When writing this value, first it is checked whether there exists a name-value pair in the list with name ''Name''. If such a pair is found, it's value part is overwritten with the specified value. If no such pair is found, a new name-value pair is added with the specified ''Name'' and value.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;pascal&amp;quot;&amp;gt;&lt;br /&gt;
var&lt;br /&gt;
  s: TStringList;&lt;br /&gt;
&lt;br /&gt;
begin&lt;br /&gt;
  s := File.CreateStringList();&lt;br /&gt;
  s.Append('a=1');&lt;br /&gt;
  s.Append('b=2');&lt;br /&gt;
  s.Append('c=3');&lt;br /&gt;
  s.Append('d=4');&lt;br /&gt;
  s.Append('e=5');&lt;br /&gt;
&lt;br /&gt;
  WriteLn(s.Strings[2]);         // c=3&lt;br /&gt;
  WriteLn(s.Names[2]);           // c&lt;br /&gt;
  WriteLn(s.Values[s.Names[2]]); // 3&lt;br /&gt;
&lt;br /&gt;
  s.Values['e'] := '51';&lt;br /&gt;
  WriteLn(s.Values['e']);        // 51&lt;br /&gt;
&lt;br /&gt;
  s.Values['f'] := '6';&lt;br /&gt;
  WriteLn(s.Values['f']);        // 7&lt;br /&gt;
  &lt;br /&gt;
  s.Free;&lt;br /&gt;
end.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:TStringList]]&lt;/div&gt;</summary>
		<author><name>Mighty</name></author>	</entry>

	</feed>