<?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"
	>
<channel>
	<title>Comments on: Overriding valueOf in ActionScript</title>
	<atom:link href="http://jessewarden.com/2007/08/overriding-valueof-in-actionscript.html/feed" rel="self" type="application/rss+xml" />
	<link>http://jessewarden.com/2007/08/overriding-valueof-in-actionscript.html</link>
	<description>A blog on software development, technology, games &#038; movies.</description>
	<pubDate>Thu, 20 Nov 2008 13:49:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: zwetan</title>
		<link>http://jessewarden.com/2007/08/overriding-valueof-in-actionscript.html#comment-5134</link>
		<dc:creator>zwetan</dc:creator>
		<pubDate>Sun, 05 Aug 2007 22:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/2007/08/overriding-valueof-in-actionscript.html#comment-5134</guid>
		<description>I do exactly that in some classes
http://maashaack.googlecode.com/svn/trunk/ES4a/src/system/Version.as

here the Version class is interesting, because as soon as you override valueOf
you can use the class in much more interesting ways even if we don't have yet
operators overloading (we will have them in AS4)

ex:
v1 = new Version( 1, 0 );
v2 = new Version( 2, 0 );

if( v1 </description>
		<content:encoded><![CDATA[<p>I do exactly that in some classes<br />
<a href="http://maashaack.googlecode.com/svn/trunk/ES4a/src/system/Version.as" rel="nofollow">http://maashaack.googlecode.com/svn/trunk/ES4a/src/system/Version.as</a></p>
<p>here the Version class is interesting, because as soon as you override valueOf<br />
you can use the class in much more interesting ways even if we don&#8217;t have yet<br />
operators overloading (we will have them in AS4)</p>
<p>ex:<br />
v1 = new Version( 1, 0 );<br />
v2 = new Version( 2, 0 );</p>
<p>if( v1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maliboo</title>
		<link>http://jessewarden.com/2007/08/overriding-valueof-in-actionscript.html#comment-5132</link>
		<dc:creator>maliboo</dc:creator>
		<pubDate>Sun, 05 Aug 2007 20:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/2007/08/overriding-valueof-in-actionscript.html#comment-5132</guid>
		<description>Try to add this as complex data (vector) and get return value as vector too. It didn't work on complex data types.</description>
		<content:encoded><![CDATA[<p>Try to add this as complex data (vector) and get return value as vector too. It didn&#8217;t work on complex data types.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
