<?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/3249" />

	<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>2002-12-16T02:00:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2002-12-16T02:00:48-04:00</updated>

		<published>2002-12-16T02:00:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14297#p14297</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14297#p14297"/>
		<title type="html"><![CDATA[Re: xindex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14297#p14297"><![CDATA[
<blockquote class="uncited"><div>ive seen 'xindex' be used in a few scripts.<br>but i cant find it in tclcommands.doc or<br>in the tcl8.3 manual.<br><br>does anyone know the usage?</div></blockquote>You are probably referring to the "xindex" procedure that was introduced by I believe KuNgFo0 used in his "own.tcl"...<br><br>It is basically a procedure to first convert a string to a list, thus allowing list operations, such as "lindex" to be properly used.<br><br>But, In my opinion, it just confuses people more, especially when they can't tell the difference in the first place between strings, lists, lindex, and xindex...<br>You'd be better off just doing it manually, such as:<br><div class="codebox"><p>Code: </p><pre><code>set element [lindex [split $mystring] 0]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Mon Dec 16, 2002 2:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2002-12-16T01:37:50-04:00</updated>

		<published>2002-12-16T01:37:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14296#p14296</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14296#p14296"/>
		<title type="html"><![CDATA[xindex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14296#p14296"><![CDATA[
ive seen 'xindex' be used in a few scripts.<br>but i cant find it in tclcommands.doc or<br>in the tcl8.3 manual.<br><br>does anyone know the usage?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Mon Dec 16, 2002 1:37 am</p><hr />
]]></content>
	</entry>
	</feed>
