<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>bergey</title>
  <link>https://bergey.dreamwidth.org/</link>
  <description>bergey - Dreamwidth Studios</description>
  <lastBuildDate>Thu, 01 Dec 2011 18:54:54 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>bergey</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/880211/170128</url>
    <title>bergey</title>
    <link>https://bergey.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://bergey.dreamwidth.org/2427.html</guid>
  <pubDate>Thu, 01 Dec 2011 18:54:54 GMT</pubDate>
  <link>https://bergey.dreamwidth.org/2427.html</link>
  <description>&lt;p&gt;Today I&apos;m writing code in the worst programming language I&apos;ve ever seen.  Evidently the function parameters of built-in functions must be constants, not variables.  This doesn&apos;t work:
&lt;pre&gt;
Builtin(MyVar)
&lt;/pre&gt;
but this does:
&lt;pre&gt;
if MyVar == 1:
    Builtin(1)
if MyVar == 2:
    Builtin(2)
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;My boss writes &quot;I gave Campbell a rough tine about this when CRbasic first came out.  I had forgotten how frustrated I was that they forced me to do something so obviously inelegant.&quot;  So at least I&apos;m in good company.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=bergey&amp;ditemid=2427&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://bergey.dreamwidth.org/2427.html</comments>
  <category>wtf</category>
  <category>code</category>
  <category>work</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
</channel>
</rss>
