<?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=Cleararray</id>
		<title>Cleararray - 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=Cleararray"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Cleararray&amp;action=history"/>
		<updated>2026-05-01T05:33:20Z</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=Cleararray&amp;diff=180&amp;oldid=prev</id>
		<title>Nameless2you: Created page with &quot;==Syntax== *'''cleararray''' &lt;array variable&gt;, &lt;value&gt;, &lt;amount of values to set&gt;;  ==Description== This command sets a range of elements in an array to given value. If you sp...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Cleararray&amp;diff=180&amp;oldid=prev"/>
				<updated>2013-01-13T19:42:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Syntax== *&amp;#039;&amp;#039;&amp;#039;cleararray&amp;#039;&amp;#039;&amp;#039; &amp;lt;array variable&amp;gt;, &amp;lt;value&amp;gt;, &amp;lt;amount of values to set&amp;gt;;  ==Description== This command sets a range of elements in an array to given value. If you sp...&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;
*'''cleararray''' &amp;lt;array variable&amp;gt;, &amp;lt;value&amp;gt;, &amp;lt;amount of values to set&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This command sets a range of elements in an array to given value. If you specify an array variable without index, then index 0 is assumed, otherwise the value setting will start from given index.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
 [[setarray]] @array[0], 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100;&lt;br /&gt;
 cleararray @array[0], 100, 11;&lt;br /&gt;
Both lines result in the same array, but using cleararray saves typing.&lt;br /&gt;
&lt;br /&gt;
 cleararray @array[0], 0, 127;  // number array&lt;br /&gt;
 cleararray @strarray$[0], &amp;quot;&amp;quot;, 127; // string array&lt;br /&gt;
Deletes entire array.&lt;br /&gt;
&lt;br /&gt;
 setarray @array[0], 1, 2, 3, 4, 5, 6;&lt;br /&gt;
 cleararray @array[2], 0, 2;&lt;br /&gt;
Results in array { 1, 2, 0, 0, 5, 6 }.&lt;br /&gt;
&lt;br /&gt;
[[Category:Script Command]]&lt;/div&gt;</summary>
		<author><name>Nameless2you</name></author>	</entry>

	</feed>