<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: i, for loop, uint and int in ActionScript 3</title>
	<atom:link href="http://shang-liang.com/blog/i-for-loop-uint-and-int/feed/" rel="self" type="application/rss+xml" />
	<link>http://shang-liang.com/blog/i-for-loop-uint-and-int/</link>
	<description>Life in a Flash</description>
	<lastBuildDate>Wed, 14 Dec 2011 03:54:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Christian Cantrell</title>
		<link>http://shang-liang.com/blog/i-for-loop-uint-and-int/comment-page-1/#comment-229</link>
		<dc:creator>Christian Cantrell</dc:creator>
		<pubDate>Thu, 14 Feb 2008 18:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://shang-liang.com/blog/i-for-loop-uint-and-int/#comment-229</guid>
		<description>I usually use uint, though I have had instances where I&#039;ve had it become a huge positive number.  I figure 4294967295 is just as big of a bug as -1, so I usually don&#039;t worry about it.

Christian</description>
		<content:encoded><![CDATA[<p>I usually use uint, though I have had instances where I&#8217;ve had it become a huge positive number.  I figure 4294967295 is just as big of a bug as -1, so I usually don&#8217;t worry about it.</p>
<p>Christian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Vadneau</title>
		<link>http://shang-liang.com/blog/i-for-loop-uint-and-int/comment-page-1/#comment-228</link>
		<dc:creator>Derek Vadneau</dc:creator>
		<pubDate>Thu, 14 Feb 2008 15:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://shang-liang.com/blog/i-for-loop-uint-and-int/#comment-228</guid>
		<description>For a bit more detail on the subject, check out these entries:
http://www.bit-101.com/blog/?p=908 (surprised kp didn&#039;t mention it)
http://tracethis.com/archives/2007/02/14/as3-tip-for-loop-index-should-not-be-uint/
http://kuwamoto.org/2006/06/15/avoid-ints-in-actionscript/</description>
		<content:encoded><![CDATA[<p>For a bit more detail on the subject, check out these entries:<br />
<a href="http://www.bit-101.com/blog/?p=908" rel="nofollow">http://www.bit-101.com/blog/?p=908</a> (surprised kp didn&#8217;t mention it)<br />
<a href="http://tracethis.com/archives/2007/02/14/as3-tip-for-loop-index-should-not-be-uint/" rel="nofollow">http://tracethis.com/archives/2007/02/14/as3-tip-for-loop-index-should-not-be-uint/</a><br />
<a href="http://kuwamoto.org/2006/06/15/avoid-ints-in-actionscript/" rel="nofollow">http://kuwamoto.org/2006/06/15/avoid-ints-in-actionscript/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Peters</title>
		<link>http://shang-liang.com/blog/i-for-loop-uint-and-int/comment-page-1/#comment-227</link>
		<dc:creator>Keith Peters</dc:creator>
		<pubDate>Thu, 14 Feb 2008 11:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://shang-liang.com/blog/i-for-loop-uint-and-int/#comment-227</guid>
		<description>I often use uints. Not because of any memory or performance reasons, but because it documents the intention of the variable. You are stating, &quot;this variable is an integer, and should never be negative.&quot; The problem is, like you said, when you make it negative, it flops over. I think it would be better if it threw an exception if you tried to make it negative..</description>
		<content:encoded><![CDATA[<p>I often use uints. Not because of any memory or performance reasons, but because it documents the intention of the variable. You are stating, &#8220;this variable is an integer, and should never be negative.&#8221; The problem is, like you said, when you make it negative, it flops over. I think it would be better if it threw an exception if you tried to make it negative..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

