<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.oehive.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>The OpenEdge Hive - Tips And Tricks</title>
 <link>http://www.oehive.org/taxonomy/term/409/0</link>
 <description></description>
 <language>oehive</language>
<item>
 <title>Fastest &quot;1 TO x&quot; loop when x is not a constant</title>
 <link>http://www.oehive.org/node/2107</link>
 <description>&lt;p&gt;It&#039;s ~30% faster to use &quot;DO i = x TO 1 BY -1&quot; than the closest &quot;DO i = 1 TO x&quot;, even when x is calculated before the loop,&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/2107&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/2107#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Thu, 17 May 2012 17:57:53 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">2107 at http://www.oehive.org</guid>
</item>
<item>
 <title>COMPILE with optimal PROPATH</title>
 <link>http://www.oehive.org/node/1464</link>
 <description>&lt;p&gt;Make sure that the PROPATH in use at the time you use the COMPILE statement have the source code folders available as the first folders.  That&#039;s also true for the PROPATH used by OE Architect&#039;s syntax analysis.&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/1464&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/1464#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/479">OpenEdge Architect</category>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/devtools">Development Tools Group</group>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Fri, 27 Mar 2009 14:56:16 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">1464 at http://www.oehive.org</guid>
</item>
<item>
 <title>DO loop instead of REPEAT</title>
 <link>http://www.oehive.org/node/1337</link>
 <description>&lt;p&gt;The DO loop constructs are much faster than the REPEAT loop (when you don&#039;t need the extra that REPEAT provides... if you don&#039;t know what the extra is, you probably don&#039;t need it).&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/1337&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/1337#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Mon, 15 Sep 2008 12:34:50 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">1337 at http://www.oehive.org</guid>
</item>
<item>
 <title>Fastest way to aggregate a character list</title>
 <link>http://www.oehive.org/node/1102</link>
 <description>&lt;p&gt;The fastest way to aggregate a list of character values when all values are non null is to *always* add the delimiter *before* the next element inside the loop and remove it afterward with cList = SUBSTRING(cList, LENGTH(cDelimiter) + 1)&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/1102&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/1102#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Mon, 04 Feb 2008 15:34:05 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">1102 at http://www.oehive.org</guid>
</item>
<item>
 <title>SEARCH for file existence</title>
 <link>http://www.oehive.org/node/1097</link>
 <description>&lt;p&gt;The &lt;em&gt;SEARCH&lt;/em&gt; function is 30 to 70% faster than &lt;em&gt;FILE-INFO:FILE-NAME&lt;/em&gt; to test for file existence if you expect that the file searched exists most of the time (if the file does not exist, both methods are equivalent).&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/1097&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/1097#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Tue, 22 Jan 2008 18:11:44 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">1097 at http://www.oehive.org</guid>
</item>
<item>
 <title>Fastest way to test that a character value contains nothing</title>
 <link>http://www.oehive.org/node/1067</link>
 <description>&lt;p&gt;When you want to verify that a character value does not contain any character (i.e. it is &quot;&quot; or ?), using the construct &lt;em&gt;TRUE &amp;lt;&amp;gt; (someCharacterExpression &amp;gt; &quot;&quot;)&lt;/em&gt; is your best buy&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/1067&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/1067#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Wed, 28 Nov 2007 20:03:44 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">1067 at http://www.oehive.org</guid>
</item>
<item>
 <title>FORWARD-ONLY on QUERY</title>
 <link>http://www.oehive.org/node/1064</link>
 <description>&lt;p&gt;Use FORWARD-ONLY = TRUE on a QUERY that just goes from a record to the next (as a &quot;FOR EACH&quot; does).&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/1064&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/1064#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Wed, 21 Nov 2007 15:41:02 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">1064 at http://www.oehive.org</guid>
</item>
<item>
 <title>For temp-tables, let ABL fail on unique index instead of using a CAN-FIND prior to creating each record</title>
 <link>http://www.oehive.org/node/990</link>
 <description>&lt;p&gt;When adding records to a temp-table having at least a unique index, it can be faster to trap the ABL error generated on a collision instead of using a CAN-FIND prior to creating each record.&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/990&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/990#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Wed, 03 Oct 2007 21:06:03 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">990 at http://www.oehive.org</guid>
</item>
<item>
 <title>ASSIGN for speed when assigning variables or fields.</title>
 <link>http://www.oehive.org/node/987</link>
 <description>&lt;p&gt;Assigning values to any number of variables is always faster when grouped in an ASSIGN statement compared to being set independently.&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/987&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/987#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Fri, 21 Sep 2007 20:31:54 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">987 at http://www.oehive.org</guid>
</item>
<item>
 <title>Fastest way to test that a character value contains something</title>
 <link>http://www.oehive.org/node/986</link>
 <description>&lt;p&gt;When you want to verify that a character value contains characters, using the construct:&lt;br /&gt;
someCharacterValue &amp;gt; &quot;&quot;&lt;br /&gt;
is, on average in my test, 10% (for a void string) to 27% (for a ? string) faster than the second fastest construct (not to mention that it is also shorter to type; not to mention that it is also 33% to 50% faster then the slowest of the constructs presented here)&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/986&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/986#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/409">Tips And Tricks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Fri, 21 Sep 2007 19:59:16 +0000</pubDate>
 <dc:creator>dlauzon</dc:creator>
 <guid isPermaLink="false">986 at http://www.oehive.org</guid>
</item>
</channel>
</rss>
