<?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: Euler Problem 89</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2009/01/10/euler-problem-89/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2009/01/10/euler-problem-89/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Michael</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/01/10/euler-problem-89/#comment-37077</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 12 Jan 2009 17:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1940#comment-37077</guid>
		<description>&lt;p&gt;Hans -&lt;/p&gt;
&lt;p&gt;Yep.  Reading the comments, there is at least one person who solved it in MSWord.  He opened the file, looked at the Statistics property for a character count, made the replacements, and got a new character count.&lt;/p&gt;
&lt;p&gt;He told Euler the difference.  Now I don&#039;t give that guy any points for elegance.  He&#039;s the wiseguy I used to sit behind... ;-)&lt;/p&gt;
&lt;p&gt;...mrt&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hans -</p>
<p>Yep.  Reading the comments, there is at least one person who solved it in MSWord.  He opened the file, looked at the Statistics property for a character count, made the replacements, and got a new character count.</p>
<p>He told Euler the difference.  Now I don&#8217;t give that guy any points for elegance.  He&#8217;s the wiseguy I used to sit behind&#8230; <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>&#8230;mrt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans Schraven</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/01/10/euler-problem-89/#comment-37072</link>
		<dc:creator>Hans Schraven</dc:creator>
		<pubDate>Mon, 12 Jan 2009 13:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1940#comment-37072</guid>
		<description>&lt;p&gt;There are only 6 possibilities to shorten Roman numerals.&lt;br&gt;
As the file roman.txt contains 1 textstring it can be treated as such.&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; Euler89()&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; x &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Long&lt;/span&gt;, T &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Long&lt;/span&gt;, c0 &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;String&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; T = Timer&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;Open&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;E:OFoman.txt&quot;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Input&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; #1&lt;br&gt;
&#160; &#160; c0 = &lt;span class=&quot;kw1&quot;&gt;Input&lt;/span&gt;(LOF(1), #1)&lt;br&gt;
&#160; &#160; x = LOF(1) - Len(Replace(Replace(Replace(Replace(Replace(Replace(c0, &lt;span class=&quot;st0&quot;&gt;&quot;VIIII&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;IX&quot;&lt;/span&gt;), &lt;span class=&quot;st0&quot;&gt;&quot;IIII&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;IV&quot;&lt;/span&gt;), &lt;span class=&quot;st0&quot;&gt;&quot;LXXXX&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;XC&quot;&lt;/span&gt;), &lt;span class=&quot;st0&quot;&gt;&quot;XXXX&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;XL&quot;&lt;/span&gt;), &lt;span class=&quot;st0&quot;&gt;&quot;DCCCC&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;CM&quot;&lt;/span&gt;), &lt;span class=&quot;st0&quot;&gt;&quot;CCCC&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;CD&quot;&lt;/span&gt;))&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;Close&lt;/span&gt; #1&lt;br&gt;
&#160; Debug.&lt;span class=&quot;kw1&quot;&gt;Print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;Result: &#160;&quot;&lt;/span&gt; &amp; x &amp; &lt;span class=&quot;st0&quot;&gt;&quot; &#160; Time: &#160;&quot;&lt;/span&gt; &amp; Timer - T&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>There are only 6 possibilities to shorten Roman numerals.<br />
As the file roman.txt contains 1 textstring it can be treated as such.</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Sub</span> Euler89()<br />
&nbsp; <span class="kw1">Dim</span> x <span class="kw1">As</span> <span class="kw1">Long</span>, T <span class="kw1">As</span> <span class="kw1">Long</span>, c0 <span class="kw1">As</span> <span class="kw1">String</span><br />
&nbsp; &nbsp; <br />
&nbsp; T = Timer<br />
&nbsp; <span class="kw1">Open</span> <span class="st0">&#8220;E:OF<br />
oman.txt&#8221;</span> <span class="kw1">For</span> <span class="kw1">Input</span> <span class="kw1">As</span> #1<br />
&nbsp; &nbsp; c0 = <span class="kw1">Input</span>(LOF(1), #1)<br />
&nbsp; &nbsp; x = LOF(1) &#8211; Len(Replace(Replace(Replace(Replace(Replace(Replace(c0, <span class="st0">&#8220;VIIII&#8221;</span>, <span class="st0">&#8220;IX&#8221;</span>), <span class="st0">&#8220;IIII&#8221;</span>, <span class="st0">&#8220;IV&#8221;</span>), <span class="st0">&#8220;LXXXX&#8221;</span>, <span class="st0">&#8220;XC&#8221;</span>), <span class="st0">&#8220;XXXX&#8221;</span>, <span class="st0">&#8220;XL&#8221;</span>), <span class="st0">&#8220;DCCCC&#8221;</span>, <span class="st0">&#8220;CM&#8221;</span>), <span class="st0">&#8220;CCCC&#8221;</span>, <span class="st0">&#8220;CD&#8221;</span>))<br />
&nbsp; <span class="kw1">Close</span> #1<br />
&nbsp; Debug.<span class="kw1">Print</span> <span class="st0">&#8220;Result: &nbsp;&#8221;</span> &amp;amp; x &amp;amp; <span class="st0">&#8221; &nbsp; Time: &nbsp;&#8221;</span> &amp;amp; Timer &#8211; T<br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans Schraven</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/01/10/euler-problem-89/#comment-37061</link>
		<dc:creator>Hans Schraven</dc:creator>
		<pubDate>Sun, 11 Jan 2009 20:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1940#comment-37061</guid>
		<description>&lt;p&gt;If speed and elegance do matter:&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&#160; &lt;span class=&quot;kw1&quot;&gt;Open&lt;/span&gt; text &lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Input&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; #1 &lt;br&gt;
&#160; Romans=split(&lt;span class=&quot;kw1&quot;&gt;Input&lt;/span&gt;(LOF(1)),#1),vbcr &amp; chr(10))&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;Close&lt;/span&gt; #1&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>If speed and elegance do matter:</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer">&nbsp; <span class="kw1">Open</span> text <span class="kw1">For</span> <span class="kw1">Input</span> <span class="kw1">As</span> #1 <br />
&nbsp; Romans=split(<span class="kw1">Input</span>(LOF(1)),#1),vbcr &amp;amp; chr(10))<br />
&nbsp; <span class="kw1">Close</span> #1</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debra Dalgleish</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/01/10/euler-problem-89/#comment-37056</link>
		<dc:creator>Debra Dalgleish</dc:creator>
		<pubDate>Sun, 11 Jan 2009 15:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1940#comment-37056</guid>
		<description>&lt;p&gt;When I mentioned the 3999 limit in an article on the ROMAN function, Tim Mayes commented &quot;According to Wikipedia, large numbers (4000 and above) are usually written with a line on top to indicate multiplication by 1000. I guess it was easier to just cut it off at 3999 than to try to implement that.&quot;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.contextures.com/archives/2008/12/02/be-a-roman/#comments&quot; rel=&quot;nofollow&quot;&gt;http://blog.contextures.com/archives/2008/12/02/be-a-roman/#comments&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>When I mentioned the 3999 limit in an article on the ROMAN function, Tim Mayes commented &#8220;According to Wikipedia, large numbers (4000 and above) are usually written with a line on top to indicate multiplication by 1000. I guess it was easier to just cut it off at 3999 than to try to implement that.&#8221;</p>
<p><a href="http://blog.contextures.com/archives/2008/12/02/be-a-roman/#comments" rel="nofollow">http://blog.contextures.com/archives/2008/12/02/be-a-roman/#comments</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Jenkins</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/01/10/euler-problem-89/#comment-37051</link>
		<dc:creator>Doug Jenkins</dc:creator>
		<pubDate>Sun, 11 Jan 2009 04:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1940#comment-37051</guid>
		<description>&lt;p&gt;&quot;but it breaks a some ridiculously low number like 3999?&lt;/p&gt;
&lt;p&gt;This seems to be a Microsoft policy.  Numerous Excel functions (factorial and decimal to binary spring to mind) fail to work at a ridiculously low number.&lt;/p&gt;
&lt;p&gt;Since it is easy to write these things so they would work at a much higher number I conclude that there must be some Microsoft policy to cripple a proportion of the lesser used functions.&lt;/p&gt;
&lt;p&gt;Why would they do that though?&lt;/p&gt;
&lt;p&gt;So they have something to upgrade in the next release?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;but it breaks a some ridiculously low number like 3999?</p>
<p>This seems to be a Microsoft policy.  Numerous Excel functions (factorial and decimal to binary spring to mind) fail to work at a ridiculously low number.</p>
<p>Since it is easy to write these things so they would work at a much higher number I conclude that there must be some Microsoft policy to cripple a proportion of the lesser used functions.</p>
<p>Why would they do that though?</p>
<p>So they have something to upgrade in the next release?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

