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

	<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-10-25T11:41:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-10-25T11:41:22-04:00</updated>

		<published>2004-10-25T11:41:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42224#p42224</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42224#p42224"/>
		<title type="html"><![CDATA[Strings are limited in size? set doesn't work on long string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42224#p42224"><![CDATA[
<blockquote class="uncited"><div>I'm not sure about other ircds, but IRCnet version limit maximum characters, which can be send to server in one line to 480.</div></blockquote>I guess that it the problem... i changed my code to this:<br><div class="codebox"><p>Code: </p><pre><code>  putserv "NOTICE $nick : Test..."  set l 500  set i 0  set s ""  while { $i &lt; $l } {    append s a    incr i  }  set dimension [string length $s]  putserv "NOTICE $nick : $dimension"  putserv "NOTICE $nick : $s"</code></pre></div>And it sent two NOTICES:<br><br>Test...<br>500<br><br>I guess it's solved, thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by Guest — Mon Oct 25, 2004 11:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrzychuG]]></name></author>
		<updated>2004-10-25T08:52:26-04:00</updated>

		<published>2004-10-25T08:52:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42211#p42211</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42211#p42211"/>
		<title type="html"><![CDATA[Strings are limited in size? set doesn't work on long string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42211#p42211"><![CDATA[
I'm not sure about other ircds, but IRCnet version limit maximum characters, which can be send to server in one line to 480.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3672">KrzychuG</a> — Mon Oct 25, 2004 8:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-10-25T07:01:19-04:00</updated>

		<published>2004-10-25T07:01:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42209#p42209</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42209#p42209"/>
		<title type="html"><![CDATA[Strings are limited in size? set doesn't work on long string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42209#p42209"><![CDATA[
correction, this works with tclsh<br><div class="codebox"><p>Code: </p><pre><code>  set l 1000  set i 0  set s ""  while { $i &lt; $l } {    append s a    incr i  }  puts $s  puts [string length $s]</code></pre></div>This doesn't work with windrop:<br><div class="codebox"><p>Code: </p><pre><code> set l 500  set i 0  set s ""  while { $i &lt; $l } {    append s a    incr i  }  putserv "NOTICE $nick : $s" </code></pre></div>So it must be a windrop problem, or a cygwin problem, any thoughts?<p>Statistics: Posted by Guest — Mon Oct 25, 2004 7:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-10-22T11:35:08-04:00</updated>

		<published>2004-10-22T11:35:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42092#p42092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42092#p42092"/>
		<title type="html"><![CDATA[Strings are limited in size? set doesn't work on long string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42092#p42092"><![CDATA[
Does anyone have this problem? I am getting out of options, i cant compact my sql statement (MySQL 4.0  does not support nested selects)  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by Guest — Fri Oct 22, 2004 11:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-10-21T15:29:23-04:00</updated>

		<published>2004-10-21T15:29:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42069#p42069</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42069#p42069"/>
		<title type="html"><![CDATA[Strings are limited in size? set doesn't work on long string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42069#p42069"><![CDATA[
Works for me like this:<br><div class="codebox"><p>Code: </p><pre><code>    set l 100  set i 0   set s ""  while { $i &lt; $l } {    append s a    incr i  }  puts $s  puts [string length $s]</code></pre></div>if do this doesn't work<br><div class="codebox"><p>Code: </p><pre><code>    set l 1000  set i 0   set s ""  while { $i &lt; $l } {    append s a    incr i  }  puts $s  puts [string length $s]</code></pre></div>It seams that strings have a limit <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> <br>i am using Activetcl 8.4.7 for Windows and Windrop (eggdrop for windows)<p>Statistics: Posted by Guest — Thu Oct 21, 2004 3:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2004-10-21T15:07:29-04:00</updated>

		<published>2004-10-21T15:07:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42068#p42068</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42068#p42068"/>
		<title type="html"><![CDATA[Strings are limited in size? set doesn't work on long string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42068#p42068"><![CDATA[
works for me<br><div class="codebox"><p>Code: </p><pre><code>proc longstring l {  set i 0 ; set s ""  while { $i &lt; $l } {    append s a    incr i  }  puts $s  puts [string length $s]}</code></pre></div><blockquote class="uncited"><div>% longstring 1000<br>"a x 1000"<br>1000<br>%</div></blockquote>edit: had to sidescroll a bunch with all them a's<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Thu Oct 21, 2004 3:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-10-21T14:13:29-04:00</updated>

		<published>2004-10-21T14:13:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42066#p42066</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42066#p42066"/>
		<title type="html"><![CDATA[Strings are limited in size? set doesn't work on long string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42066#p42066"><![CDATA[
Hi,<br><br>I need to set a variable with an SQL statement (Very long one) to execute in MySQL but it seams that long strings doesn't work.<br><br>Even this doesnt work:<br><br>set testing "(Imagine that this string is 500 chars in length)"<br><br>What's the deal, is there any kind of limitation in string length?<p>Statistics: Posted by Guest — Thu Oct 21, 2004 2:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
