<?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=GetArrayLength</id>
		<title>GetArrayLength - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=GetArrayLength"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=GetArrayLength&amp;action=history"/>
		<updated>2026-05-26T02:25:41Z</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=GetArrayLength&amp;diff=124&amp;oldid=prev</id>
		<title>Freeman: Created page with &quot;===Syntax===  ''function GetArrayLength(X: array of variant): integer;''    '''Parameter Info:'''   X (Array of Variant): This paramater can be an array of any data type.    '...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=GetArrayLength&amp;diff=124&amp;oldid=prev"/>
				<updated>2012-08-15T09:43:47Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Syntax===  &amp;#039;&amp;#039;function GetArrayLength(X: array of variant): integer;&amp;#039;&amp;#039;    &amp;#039;&amp;#039;&amp;#039;Parameter Info:&amp;#039;&amp;#039;&amp;#039;   X (Array of Variant): This paramater can be an array of any data type.    &amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Syntax===&lt;br /&gt;
 ''function GetArrayLength(X: array of variant): integer;''&lt;br /&gt;
 &lt;br /&gt;
 '''Parameter Info:'''&lt;br /&gt;
  X (Array of Variant): This paramater can be an array of any data type.&lt;br /&gt;
 &lt;br /&gt;
 '''Description:'''&lt;br /&gt;
  This function will return the length of an array. Example if you have an array of 5 integers {0,1,2,3,4}&lt;br /&gt;
  this function will return 5.&lt;br /&gt;
 &lt;br /&gt;
  (see also [[ArrayHigh]])&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;pascal&amp;quot;&amp;gt;var&lt;br /&gt;
MyArray[0..4] of string;&lt;br /&gt;
i: integer;&lt;br /&gt;
begin&lt;br /&gt;
    MyArray[0] := 'noobs';&lt;br /&gt;
    MyArray[1] := 'foo';&lt;br /&gt;
    MyArray[2] := 'bar';&lt;br /&gt;
    MyArray[3] := 'is';&lt;br /&gt;
    MyArray[4] := 'for';&lt;br /&gt;
    &lt;br /&gt;
    for i := 0 to GetArrayLength(MyArray)-1 do begin&lt;br /&gt;
       WriteLn(MyArray[i]);&lt;br /&gt;
    end;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 '''Output:'''&lt;br /&gt;
  noobs&lt;br /&gt;
  foo&lt;br /&gt;
  bar&lt;br /&gt;
  is&lt;br /&gt;
  for&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
[[Category:Server Scripting]][[Category:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Freeman</name></author>	</entry>

	</feed>