<?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: Javascript code runs in ArcGIS Pro but not ArcMap in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/javascript-code-runs-in-arcgis-pro-but-not-arcmap/m-p/216634#M521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you selecting the JScript parser when using ArcMap's labeling engine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2019 13:52:25 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2019-03-26T13:52:25Z</dc:date>
    <item>
      <title>Javascript code runs in ArcGIS Pro but not ArcMap</title>
      <link>https://community.esri.com/t5/arcmap-questions/javascript-code-runs-in-arcgis-pro-but-not-arcmap/m-p/216633#M520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code is in Javascript and it runs very well in ArcGIS Pro in ArcMap it doesn't run or work.&lt;/P&gt;&lt;P&gt;What could be the problem? I need help please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function FindLabel ( [OffsetX], [OffsetY], [LabelLong], [Strength])&lt;BR /&gt;{&lt;BR /&gt; r = [OffsetY]&lt;BR /&gt; c = [OffsetX]&lt;BR /&gt; xshift = ""&lt;BR /&gt; yshift = ""&lt;BR /&gt; for (i = -5; i &amp;lt; c; i++) {&lt;BR /&gt; xshift += "&amp;lt;FNT name = 'ESRI Default Marker' size = '36'&amp;gt;" + "?" + "&amp;lt;/FNT&amp;gt;"&lt;BR /&gt; }&lt;BR /&gt; for (i = 0; i &amp;lt; Math.abs(r); i++) {&lt;BR /&gt; yshift += "&amp;lt;FNT name = 'ESRI Default Marker' size = '36'&amp;gt;" + "?" + "&amp;lt;/FNT&amp;gt;" + "\r"&lt;BR /&gt; }&lt;BR /&gt; label = xshift + [LabelLong]+' '+"["+[Strength]+"]"&lt;BR /&gt; if ( r &amp;gt; 0) { label += yshift }&lt;BR /&gt; else { label = yshift + label }&lt;BR /&gt; return label ;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 06:42:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/javascript-code-runs-in-arcgis-pro-but-not-arcmap/m-p/216633#M520</guid>
      <dc:creator>alfredmbungu</dc:creator>
      <dc:date>2019-03-26T06:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript code runs in ArcGIS Pro but not ArcMap</title>
      <link>https://community.esri.com/t5/arcmap-questions/javascript-code-runs-in-arcgis-pro-but-not-arcmap/m-p/216634#M521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you selecting the JScript parser when using ArcMap's labeling engine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 13:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/javascript-code-runs-in-arcgis-pro-but-not-arcmap/m-p/216634#M521</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2019-03-26T13:52:25Z</dc:date>
    </item>
  </channel>
</rss>

