<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: SHR code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sat, 26 Jul 2008 10:42:06 GMT</pubDate>
    <description>DZone Snippets: SHR code</description>
    <item>
      <title>SHR (shift-right) function</title>
      <link>http://snippets.dzone.com/posts/show/1117</link>
      <description>&lt;code&gt;&lt;br /&gt;    SHR: func [&lt;br /&gt;        "Shift Right"&lt;br /&gt;        s [series!]&lt;br /&gt;        n [integer!]&lt;br /&gt;        /with fill&lt;br /&gt;    ][&lt;br /&gt;        append&lt;br /&gt;            array/initial&lt;br /&gt;                min n (length? s)       ; we should really ASSERT n &lt;= length? s&lt;br /&gt;                either with [fill][none]&lt;br /&gt;            copy/part s ((length? s) - n)&lt;br /&gt;    ]&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 10 Jan 2006 06:07:33 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/1117</guid>
      <author>gregg.irwin (Gregg Irwin)</author>
    </item>
  </channel>
</rss>
