<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Arcade numeric array in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-numeric-array/m-p/1226930#M61726</link>
    <description>&lt;P&gt;That's perfect thanks Josh&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Oct 2022 03:13:06 GMT</pubDate>
    <dc:creator>RobA</dc:creator>
    <dc:date>2022-10-31T03:13:06Z</dc:date>
    <item>
      <title>Arcade numeric array</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-numeric-array/m-p/1226881#M61714</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to create a numerical array in Arcade to be used for numerical calculations later in my function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an upper threshold for example :&amp;nbsp;&lt;/P&gt;&lt;P&gt;var threshold = 4&lt;/P&gt;&lt;P&gt;I simply want to create a numerical array starting from 0 and looping through to 4 to produce:&lt;/P&gt;&lt;P&gt;[0,1,2,3,4] saved as an accessible numerical array.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a simple enough concept in R (Seq function) or Python (range function), but I'm scratching my head as to how to do this simple task using Arcade.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2022 00:02:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-numeric-array/m-p/1226881#M61714</guid>
      <dc:creator>RobA</dc:creator>
      <dc:date>2022-10-30T00:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade numeric array</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-numeric-array/m-p/1226929#M61725</link>
      <description>&lt;P&gt;There's nothing built-in that does this, but you could easily create your own function:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function sequence(threshold){
    var out_arr = []
    for (var n=0; n &amp;lt;= threshold; n++){
        Push(out_arr, n)
    }
    return out_arr
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1667185491884.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54781iFD64752809B421C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1667185491884.png" alt="jcarlson_0-1667185491884.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 03:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-numeric-array/m-p/1226929#M61725</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-10-31T03:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade numeric array</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-numeric-array/m-p/1226930#M61726</link>
      <description>&lt;P&gt;That's perfect thanks Josh&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 03:13:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-numeric-array/m-p/1226930#M61726</guid>
      <dc:creator>RobA</dc:creator>
      <dc:date>2022-10-31T03:13:06Z</dc:date>
    </item>
  </channel>
</rss>

