<?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: AS3 If statement syntax shortcut</title>
	<atom:link href="http://simplistika.com/if-statement-syntax-shortcut/feed/" rel="self" type="application/rss+xml" />
	<link>http://simplistika.com/if-statement-syntax-shortcut/</link>
	<description>Think Simple</description>
	<lastBuildDate>Thu, 19 Aug 2010 09:55:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: mhaine</title>
		<link>http://simplistika.com/if-statement-syntax-shortcut/comment-page-1/#comment-211</link>
		<dc:creator>mhaine</dc:creator>
		<pubDate>Thu, 06 Aug 2009 04:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://jared.simplistika.com/?p=195#comment-211</guid>
		<description>if statement</description>
		<content:encoded><![CDATA[<p>if statement</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jared</title>
		<link>http://simplistika.com/if-statement-syntax-shortcut/comment-page-1/#comment-209</link>
		<dc:creator>jared</dc:creator>
		<pubDate>Wed, 13 May 2009 06:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://jared.simplistika.com/?p=195#comment-209</guid>
		<description>very nice.</description>
		<content:encoded><![CDATA[<p>very nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sinclairc5</title>
		<link>http://simplistika.com/if-statement-syntax-shortcut/comment-page-1/#comment-208</link>
		<dc:creator>sinclairc5</dc:creator>
		<pubDate>Wed, 13 May 2009 03:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://jared.simplistika.com/?p=195#comment-208</guid>
		<description>some more random stuff:

var v = &quot;testing&quot;;

v is String ? [ c(), d()] : [ d(), c() ];

function c():void{ trace( &quot;c&quot; ) }
function d():void{ trace( &quot;d&quot; ) }</description>
		<content:encoded><![CDATA[<p>some more random stuff:</p>
<p>var v = &#8220;testing&#8221;;</p>
<p>v is String ? [ c(), d()] : [ d(), c() ];</p>
<p>function c():void{ trace( &#8220;c&#8221; ) }<br />
function d():void{ trace( &#8220;d&#8221; ) }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sinclairc5</title>
		<link>http://simplistika.com/if-statement-syntax-shortcut/comment-page-1/#comment-207</link>
		<dc:creator>sinclairc5</dc:creator>
		<pubDate>Wed, 13 May 2009 03:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://jared.simplistika.com/?p=195#comment-207</guid>
		<description>or how about:

var v = false;

var a = [ c, d ];
var b = [ d, c ];

v ? a.forEach(e) : b.forEach(e);

function c():void{ trace( &quot;c&quot; ) }
function d():void{ trace( &quot;d&quot; ) }
function e(...args):void{ args[0]() }</description>
		<content:encoded><![CDATA[<p>or how about:</p>
<p>var v = false;</p>
<p>var a = [ c, d ];<br />
var b = [ d, c ];</p>
<p>v ? a.forEach(e) : b.forEach(e);</p>
<p>function c():void{ trace( &#8220;c&#8221; ) }<br />
function d():void{ trace( &#8220;d&#8221; ) }<br />
function e(&#8230;args):void{ args[0]() }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sinclairc5</title>
		<link>http://simplistika.com/if-statement-syntax-shortcut/comment-page-1/#comment-206</link>
		<dc:creator>sinclairc5</dc:creator>
		<pubDate>Wed, 13 May 2009 03:01:15 +0000</pubDate>
		<guid isPermaLink="false">http://jared.simplistika.com/?p=195#comment-206</guid>
		<description>also try this:

v ? [ trace( &quot;this&quot; ), trace( &quot; is true&quot; ) ] : [ trace( &quot;DOH!&quot; ) ] ;</description>
		<content:encoded><![CDATA[<p>also try this:</p>
<p>v ? [ trace( "this" ), trace( " is true" ) ] : [ trace( "DOH!" ) ] ;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://simplistika.com/if-statement-syntax-shortcut/comment-page-1/#comment-210</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Tue, 14 Apr 2009 17:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://jared.simplistika.com/?p=195#comment-210</guid>
		<description>and you can do this too:

i = v ? 0: 1;</description>
		<content:encoded><![CDATA[<p>and you can do this too:</p>
<p>i = v ? 0: 1;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dwight</title>
		<link>http://simplistika.com/if-statement-syntax-shortcut/comment-page-1/#comment-205</link>
		<dc:creator>Dwight</dc:creator>
		<pubDate>Wed, 12 Nov 2008 09:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://jared.simplistika.com/?p=195#comment-205</guid>
		<description>You wouldn&#039;t believe this! Just yesterday I was looking for this :-P</description>
		<content:encoded><![CDATA[<p>You wouldn&#8217;t believe this! Just yesterday I was looking for this <img src='http://simplistika.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
