<?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: Appreciation for the VFP compiler</title>
	<atom:link href="http://rickschummer.com/blog2/2008/08/appreciation-for-the-vfp-compiler/feed/" rel="self" type="application/rss+xml" />
	<link>http://rickschummer.com/blog2/2008/08/appreciation-for-the-vfp-compiler/</link>
	<description>Shedding some light on topics of software development, Visual FoxPro, saving our planet, paying it forward, and anything else I find important enough to share.</description>
	<lastBuildDate>Sun, 13 Jan 2019 18:50:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Mike Lewis</title>
		<link>http://rickschummer.com/blog2/2008/08/appreciation-for-the-vfp-compiler/comment-page-1/#comment-629</link>
		<dc:creator>Mike Lewis</dc:creator>
		<pubDate>Thu, 21 Aug 2008 09:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/2008/08/appreciation-for-the-vfp-compiler/#comment-629</guid>
		<description>&lt;i&gt;Initially looking a the ENDIF one might think this is invalid syntax .... FoxPro knows there is no valid syntax after the ENDIF so the rest of the line is completely ignored ... &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Similarly, VFP accepts the keyword THEN when placed after IF &lt;i&gt;condition&lt;/i&gt;. For example:&lt;br /&gt;&lt;br /&gt;IF x = y THEN&lt;br /&gt;  ? &quot;OK&quot;&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;Not only does this not throw an error, but Intellisense recognises THEN as a keyword and renders it in blue upper case. &lt;br /&gt;&lt;br /&gt;Handy for ex-Basic folk, perhaps?</description>
		<content:encoded><![CDATA[<p><i>Initially looking a the ENDIF one might think this is invalid syntax &#8230;. FoxPro knows there is no valid syntax after the ENDIF so the rest of the line is completely ignored &#8230; </i></p>
<p>Similarly, VFP accepts the keyword THEN when placed after IF <i>condition</i>. For example:</p>
<p>IF x = y THEN<br />  ? &#8220;OK&#8221;<br />ENDIF</p>
<p>Not only does this not throw an error, but Intellisense recognises THEN as a keyword and renders it in blue upper case. </p>
<p>Handy for ex-Basic folk, perhaps?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nants</title>
		<link>http://rickschummer.com/blog2/2008/08/appreciation-for-the-vfp-compiler/comment-page-1/#comment-630</link>
		<dc:creator>Nants</dc:creator>
		<pubDate>Wed, 20 Aug 2008 12:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://rickschummer.com/blog2/2008/08/appreciation-for-the-vfp-compiler/#comment-630</guid>
		<description>&lt;i&gt;I guess the FoxPro compiler figures this is a mistake on your part and is doing you a favor by ignoring the problem.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;This is a good example of why I&#039;ve stopped, and recommend against, VFP programmers trying too hard to protect programmers from passing bad or incomplete parameters. It&#039;s doing a disservice to all. Better to use an ASSERT when an unexpected type is passed or not enough parameters are passed. &lt;br /&gt;&lt;br /&gt;BTW, I had a similar experience recently with 9. Some native function...but I don&#039;t recall now what it was. Just was surprised. If I recall it will post.</description>
		<content:encoded><![CDATA[<p><i>I guess the FoxPro compiler figures this is a mistake on your part and is doing you a favor by ignoring the problem.</i></p>
<p>This is a good example of why I&#8217;ve stopped, and recommend against, VFP programmers trying too hard to protect programmers from passing bad or incomplete parameters. It&#8217;s doing a disservice to all. Better to use an ASSERT when an unexpected type is passed or not enough parameters are passed. </p>
<p>BTW, I had a similar experience recently with 9. Some native function&#8230;but I don&#8217;t recall now what it was. Just was surprised. If I recall it will post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
