<?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: File I/O Part 1</title>
	<atom:link href="http://javazquez.com/juan/2008/06/27/file-io-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://javazquez.com/juan/2008/06/27/file-io-part-1/</link>
	<description>Juan A. Vazquez</description>
	<lastBuildDate>Tue, 09 Mar 2010 00:47: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: Andrey</title>
		<link>http://javazquez.com/juan/2008/06/27/file-io-part-1/comment-page-1/#comment-524</link>
		<dc:creator>Andrey</dc:creator>
		<pubDate>Tue, 19 May 2009 16:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://javazquez.com/juan/?p=9#comment-524</guid>
		<description>Thanks for info. It is sometimes quite difficult to convert some program from one language to another. Such comparisons come in very handy.</description>
		<content:encoded><![CDATA[<p>Thanks for info. It is sometimes quite difficult to convert some program from one language to another. Such comparisons come in very handy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: japan searches</title>
		<link>http://javazquez.com/juan/2008/06/27/file-io-part-1/comment-page-1/#comment-286</link>
		<dc:creator>japan searches</dc:creator>
		<pubDate>Mon, 18 Aug 2008 04:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://javazquez.com/juan/?p=9#comment-286</guid>
		<description>&lt;strong&gt;hey...&lt;/strong&gt;

thanks...</description>
		<content:encoded><![CDATA[<p><strong>hey&#8230;</strong></p>
<p>thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Php Perl</title>
		<link>http://javazquez.com/juan/2008/06/27/file-io-part-1/comment-page-1/#comment-191</link>
		<dc:creator>Php Perl</dc:creator>
		<pubDate>Sat, 05 Jul 2008 07:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://javazquez.com/juan/?p=9#comment-191</guid>
		<description>anybody here know of a good site to find more info on Php Perl? I&#039;ve got this site bookmarked and im gonna keep checking it out, but i still would like to find a site that covers Php Perl a little more thoroughly..thanks</description>
		<content:encoded><![CDATA[<p>anybody here know of a good site to find more info on Php Perl? I&#8217;ve got this site bookmarked and im gonna keep checking it out, but i still would like to find a site that covers Php Perl a little more thoroughly..thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://javazquez.com/juan/2008/06/27/file-io-part-1/comment-page-1/#comment-187</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Tue, 01 Jul 2008 17:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://javazquez.com/juan/?p=9#comment-187</guid>
		<description>Another way to get the first two items of the list containing the lines of the file would be using a range as in:

lines[0..1].eachWithIndex{ it, i -&gt; println &quot;{i+1}: $it&quot; }

would provide the output:

1: line 1 String contents
2: line 2 String contents

if you don&#039;t need the index value then use the following
lines[0..1].each{ println it }

would provide the output:

line 1 String contents
line 2 String contents

I enjoyed the language comparisons.  Of course, my favorite is Groovy because it is very Java like and integrates will all the existing Java libraries but supports more flexibility than Java.</description>
		<content:encoded><![CDATA[<p>Another way to get the first two items of the list containing the lines of the file would be using a range as in:</p>
<p>lines[0..1].eachWithIndex{ it, i -&gt; println &#8220;{i+1}: $it&#8221; }</p>
<p>would provide the output:</p>
<p>1: line 1 String contents<br />
2: line 2 String contents</p>
<p>if you don&#8217;t need the index value then use the following<br />
lines[0..1].each{ println it }</p>
<p>would provide the output:</p>
<p>line 1 String contents<br />
line 2 String contents</p>
<p>I enjoyed the language comparisons.  Of course, my favorite is Groovy because it is very Java like and integrates will all the existing Java libraries but supports more flexibility than Java.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
