<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.11" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Programming PIR: Build applications in Parrot&#8217;s native programming language</title>
	<link>http://www.linux-mag.com/id/4562/</link>
	<description>Open Source, Open Standards</description>
	<pubDate>Sat, 04 Jul 2009 19:17:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>

	<item>
		<title>by: bob wilkinson</title>
		<link>http://www.linux-mag.com/id/4562/#comment-1390</link>
		<pubDate>Fri, 15 Aug 2008 16:57:24 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/4562/#comment-1390</guid>
					<description>"Unlike .local variables, the order and placement of the declarations matters. To a certain degree, Parrot’s default argument passing is positional. That is, it works like you expect; the first PMC parameter in the list at the point of the call is the first one you get in the parameter list.

Interestingly, order matters only within a register set. These two parameter lists are equivalent:

.param int count
.param pmc item_to_repeat
...
.param pmc item_to_repeat
.param int count"

-------------------------

I find the above a little confusing, if the default argument passing is positional, then surely the lists are not equivalent. Maybe I miss the contextual meaning of "order matters only within a register set".</description>
		<content:encoded><![CDATA[<p>&#8220;Unlike .local variables, the order and placement of the declarations matters. To a certain degree, Parrot’s default argument passing is positional. That is, it works like you expect; the first PMC parameter in the list at the point of the call is the first one you get in the parameter list.</p>
<p>Interestingly, order matters only within a register set. These two parameter lists are equivalent:</p>
<p>.param int count<br />
.param pmc item_to_repeat<br />
&#8230;<br />
.param pmc item_to_repeat<br />
.param int count&#8221;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>I find the above a little confusing, if the default argument passing is positional, then surely the lists are not equivalent. Maybe I miss the contextual meaning of &#8220;order matters only within a register set&#8221;.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
