<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Deletearray</id>
		<title>Deletearray - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Deletearray"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Deletearray&amp;action=history"/>
		<updated>2026-05-30T18:12:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/w/index.php?title=Deletearray&amp;diff=183&amp;oldid=prev</id>
		<title>Nameless2you: Created page with &quot;==Syntax== *'''deletearray''' &lt;array&gt;, &lt;amount of elements to delete&gt;;  ==Description== This command deletes a range of values within given array and shifts remaining values t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Deletearray&amp;diff=183&amp;oldid=prev"/>
				<updated>2013-01-13T19:43:04Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Syntax== *&amp;#039;&amp;#039;&amp;#039;deletearray&amp;#039;&amp;#039;&amp;#039; &amp;lt;array&amp;gt;, &amp;lt;amount of elements to delete&amp;gt;;  ==Description== This command deletes a range of values within given array and shifts remaining values t...&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;
*'''deletearray''' &amp;lt;array&amp;gt;, &amp;lt;amount of elements to delete&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This command deletes a range of values within given array and shifts remaining values to fill the deletion gap.&lt;br /&gt;
&lt;br /&gt;
'''Important:''' Currently (r14395) the command uses [[getarraysize]] internally, which leads to unpredictable results with arrays, that contain empty elements. It is recommended to use a combination of [[copyarray]] and [[cleararray]] instead.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
 '''deletearray''' @array, 10;&lt;br /&gt;
Deletes the first 10 elements of the array and shifts all other values by one to the left.&lt;br /&gt;
&lt;br /&gt;
 [[copyarray]] @array[0], @array[10], 90;&lt;br /&gt;
 [[cleararray]] @array[90], 0, 10;&lt;br /&gt;
Assuming ''@array'' has 100 elements, this achieves the same effect as the example above, but works properly even if ''@array'' has empty element(s).&lt;br /&gt;
&lt;br /&gt;
[[Category:Script Command]]&lt;/div&gt;</summary>
		<author><name>Nameless2you</name></author>	</entry>

	</feed>