<?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: SQR Without Literals</title>
	<atom:link href="http://peoplesoftsqr.com/index.php/2009/05/sqr-without-literals/feed/" rel="self" type="application/rss+xml" />
	<link>http://peoplesoftsqr.com/index.php/2009/05/sqr-without-literals/</link>
	<description>When Peoplebooks Is Not Enough</description>
	<lastBuildDate>Mon, 16 Aug 2010 16:52:22 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: administrator</title>
		<link>http://peoplesoftsqr.com/index.php/2009/05/sqr-without-literals/comment-page-1/#comment-475</link>
		<dc:creator>administrator</dc:creator>
		<pubDate>Mon, 01 Jun 2009 14:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=343#comment-475</guid>
		<description>There are a variety of old commands that the SQR Language Reference lists as &quot;not recommended.&quot;  They have been deprecated for at least ten years but the old syntax is still supported.</description>
		<content:encoded><![CDATA[<p>There are a variety of old commands that the SQR Language Reference lists as &#8220;not recommended.&#8221;  They have been deprecated for at least ten years but the old syntax is still supported.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Josephson</title>
		<link>http://peoplesoftsqr.com/index.php/2009/05/sqr-without-literals/comment-page-1/#comment-472</link>
		<dc:creator>Bob Josephson</dc:creator>
		<pubDate>Mon, 01 Jun 2009 12:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=343#comment-472</guid>
		<description>I don&#039;t know if anyone who actually works on the SQR compiler is reading this, but perhaps the ability to redefine constants should be deprecated (meaning that in the next version of the compiler, it generates warnings and, in future versions it generates errors).</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if anyone who actually works on the SQR compiler is reading this, but perhaps the ability to redefine constants should be deprecated (meaning that in the next version of the compiler, it generates warnings and, in future versions it generates errors).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://peoplesoftsqr.com/index.php/2009/05/sqr-without-literals/comment-page-1/#comment-457</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 30 May 2009 23:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=343#comment-457</guid>
		<description>Yes, either type of #DEFINE can be done twice.  (What might not be clear to people reading my code sample is that it&#039;s LEGAL but BAD.  The constant value will be 2 in both calls to My-Proc assuming that My-Proc is defined later in the file.)  I suppose that it doesn&#039;t matter to the compiler if there are multiple definitions of a constant, unlike for example multiple definitions of a procedure.</description>
		<content:encoded><![CDATA[<p>Yes, either type of #DEFINE can be done twice.  (What might not be clear to people reading my code sample is that it&#8217;s LEGAL but BAD.  The constant value will be 2 in both calls to My-Proc assuming that My-Proc is defined later in the file.)  I suppose that it doesn&#8217;t matter to the compiler if there are multiple definitions of a constant, unlike for example multiple definitions of a procedure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: administrator</title>
		<link>http://peoplesoftsqr.com/index.php/2009/05/sqr-without-literals/comment-page-1/#comment-449</link>
		<dc:creator>administrator</dc:creator>
		<pubDate>Sat, 30 May 2009 04:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=343#comment-449</guid>
		<description>Kevin, it&#039;s great to hear from you again, and thanks for the encouragement.  I&#039;m really surprised to see your code sample.  I have a memory from long ago of the compiler complaining about defining something twice.  Was that just for constants defined to exist like below, or am I thinking of another language entirely?

#define UNIX</description>
		<content:encoded><![CDATA[<p>Kevin, it&#8217;s great to hear from you again, and thanks for the encouragement.  I&#8217;m really surprised to see your code sample.  I have a memory from long ago of the compiler complaining about defining something twice.  Was that just for constants defined to exist like below, or am I thinking of another language entirely?</p>
<p>#define UNIX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://peoplesoftsqr.com/index.php/2009/05/sqr-without-literals/comment-page-1/#comment-443</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 29 May 2009 06:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=343#comment-443</guid>
		<description>A minor quibble, but constants can be defined multiple times and their values can change, although fortunately this is rare.  What seems to confuse people at first is that constants are resolved at &quot;compile&quot; time and so putting a #DEFINE under an IF, for example, is sort of nonsense.  I&#039;ve seen code like this:

#define a_value_my_proc_will_use  1
do My-Proc
#define a_value_my_proc_will_use  2
do My-Proc

As to the other item--hi from:
Kevin Reschenberg
Independent consultant in PeopleSoft technical work (and a former PeopleSoft employee)
Orange County, California
sparkpath.com and sqr-info.com

Thanks for your very interesting blog.  I really appreciate the level of detail and well-thought-out opinions.</description>
		<content:encoded><![CDATA[<p>A minor quibble, but constants can be defined multiple times and their values can change, although fortunately this is rare.  What seems to confuse people at first is that constants are resolved at &#8220;compile&#8221; time and so putting a #DEFINE under an IF, for example, is sort of nonsense.  I&#8217;ve seen code like this:</p>
<p>#define a_value_my_proc_will_use  1<br />
do My-Proc<br />
#define a_value_my_proc_will_use  2<br />
do My-Proc</p>
<p>As to the other item&#8211;hi from:<br />
Kevin Reschenberg<br />
Independent consultant in PeopleSoft technical work (and a former PeopleSoft employee)<br />
Orange County, California<br />
sparkpath.com and sqr-info.com</p>
<p>Thanks for your very interesting blog.  I really appreciate the level of detail and well-thought-out opinions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: administrator</title>
		<link>http://peoplesoftsqr.com/index.php/2009/05/sqr-without-literals/comment-page-1/#comment-431</link>
		<dc:creator>administrator</dc:creator>
		<pubDate>Tue, 26 May 2009 17:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=343#comment-431</guid>
		<description>It&#039;s a good idea to give visual cues, but the variable vs. constant issue is already clear in SQR.  Variables must begin with #, $, %, or &amp;, and they are the only objects that may begin with those characters.  Constants must be enclosed with curly brackets {}, and they are the only objects that may be enclosed with those characters.

Thank you for giving us your name, Bob.  But as we saw on Babylon 5, that doesn&#039;t answer the question &quot;Who are you?&quot;</description>
		<content:encoded><![CDATA[<p>It&#8217;s a good idea to give visual cues, but the variable vs. constant issue is already clear in SQR.  Variables must begin with #, $, %, or &amp;, and they are the only objects that may begin with those characters.  Constants must be enclosed with curly brackets {}, and they are the only objects that may be enclosed with those characters.</p>
<p>Thank you for giving us your name, Bob.  But as we saw on Babylon 5, that doesn&#8217;t answer the question &#8220;Who are you?&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Josephson</title>
		<link>http://peoplesoftsqr.com/index.php/2009/05/sqr-without-literals/comment-page-1/#comment-430</link>
		<dc:creator>Bob Josephson</dc:creator>
		<pubDate>Tue, 26 May 2009 15:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=343#comment-430</guid>
		<description>Constants are great, but when I look at the code, it would be nice to know instantly whether an element is a variable or a constant. In C, the convention (not enforced by the compiler) is to put constants in all caps. Would that be of value in SQR?

As for who I am... I&#039;m Bob Josephson. Aren&#039;t I?

As for what I want... as Kosh would say, &quot;never ask that question.&quot;</description>
		<content:encoded><![CDATA[<p>Constants are great, but when I look at the code, it would be nice to know instantly whether an element is a variable or a constant. In C, the convention (not enforced by the compiler) is to put constants in all caps. Would that be of value in SQR?</p>
<p>As for who I am&#8230; I&#8217;m Bob Josephson. Aren&#8217;t I?</p>
<p>As for what I want&#8230; as Kosh would say, &#8220;never ask that question.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
