<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/7801" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-06-30T10:15:50-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/7801</id>

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-30T10:15:50-04:00</updated>

		<published>2004-06-30T10:15:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38047#p38047</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38047#p38047"/>
		<title type="html"><![CDATA[Unsetting or clearing a list index (global)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38047#p38047"><![CDATA[
unset should work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Wed Jun 30, 2004 10:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-06-29T22:13:52-04:00</updated>

		<published>2004-06-29T22:13:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38039#p38039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38039#p38039"/>
		<title type="html"><![CDATA[Unsetting or clearing a list index (global)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38039#p38039"><![CDATA[
I guess i could use set myvar "", i just thought there should be a proper way to unset it.<br><br>As said in original post.. 'unset myvar' was not working, possibly because it is a list index not a standard variable?<br>Er, correction, i forgot to mention that in original post :\<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Tue Jun 29, 2004 10:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-29T14:42:26-04:00</updated>

		<published>2004-06-29T14:42:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38024#p38024</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38024#p38024"/>
		<title type="html"><![CDATA[Unsetting or clearing a list index (global)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38024#p38024"><![CDATA[
quite true...indeed  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jun 29, 2004 2:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrzychuG]]></name></author>
		<updated>2004-06-29T05:45:29-04:00</updated>

		<published>2004-06-29T05:45:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38013#p38013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38013#p38013"/>
		<title type="html"><![CDATA[Unsetting or clearing a list index (global)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38013#p38013"><![CDATA[
This should work too:<div class="codebox"><p>Code: </p><pre><code>unset myvar</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3672">KrzychuG</a> — Tue Jun 29, 2004 5:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-29T04:16:49-04:00</updated>

		<published>2004-06-29T04:16:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38011#p38011</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38011#p38011"/>
		<title type="html"><![CDATA[Unsetting or clearing a list index (global)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38011#p38011"><![CDATA[
To clear you can simply use:<br><div class="codebox"><p>Code: </p><pre><code>set myvar ""</code></pre></div>This should give a null value.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jun 29, 2004 4:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-06-29T03:40:51-04:00</updated>

		<published>2004-06-29T03:40:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38009#p38009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38009#p38009"/>
		<title type="html"><![CDATA[Unsetting or clearing a list index (global)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38009#p38009"><![CDATA[
I have a list index in my script.  I understand that all variables/lists are cleared/unset at the end of a procedure, unless declared as a global variable.  My question is, how do i then unset/clear a global list/var.  The list needs to be global as it is used in several different procedures, but i wish to create a !reset command to clear several global variables and lists.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Tue Jun 29, 2004 3:40 am</p><hr />
]]></content>
	</entry>
	</feed>
