<?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: Why is this throwing an error? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Error-Cannot-set-value-for-the-column-lt-name-gt-because-the-row/m-p/11754#M11258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is sort of a problem of whitespace. JSL doesn't recognize whitespace outside of quoted strings (see Script Formatting, &lt;A href="http://www.jmp.com/support/help/Terminology.shtml"&gt;here&lt;/A&gt;), so &lt;SPAN style="color: #555555; font-family: Courier; font-size: 12px;"&gt;AlignmentBump&lt;/SPAN&gt; and &lt;SPAN style="color: #555555; font-family: Courier; font-size: 12px;"&gt;Alignment Bump &lt;/SPAN&gt;are the same. That means that you're trying to create a variable with the same name as a column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that, but you'll need to use a &lt;A href="http://www.jmp.com/support/help/Advanced_Scoping_and_Namespaces.shtml#286982"&gt;scoping operator&lt;/A&gt; to keep them separate. A single : identifies a column and two :: identifies a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Apr 2015 01:06:11 GMT</pubDate>
    <dc:creator>Jeff_Perkinson</dc:creator>
    <dc:date>2015-04-04T01:06:11Z</dc:date>
    <item>
      <title>Error: Cannot set value for the column '&lt;name&gt;' because the row number (-1) is not valid</title>
      <link>https://community.jmp.com/t5/Discussions/Error-Cannot-set-value-for-the-column-lt-name-gt-because-the-row/m-p/11753#M11257</link>
      <description>&lt;P&gt;I have a data table with 2 rows from an import from Excel and am trying to extract some data.&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;Reticle1name = :Reticle&lt;STRONG&gt;[&lt;/STRONG&gt;1&lt;STRONG&gt;]&lt;/STRONG&gt;;//Reticle is a column&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;Reticle2name = :Reticle&lt;STRONG&gt;[&lt;/STRONG&gt;2&lt;STRONG&gt;]&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;Reticle1X= :Closest DUT# X&lt;STRONG&gt;[&lt;/STRONG&gt;1&lt;STRONG&gt;]&lt;/STRONG&gt;;//&lt;SPAN style="font-family: Courier; font-size: 12px;"&gt;Closest DUT# X&lt;/SPAN&gt; is a column&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;Reticle2X= :Closest DUT# X&lt;STRONG&gt;[&lt;/STRONG&gt;2&lt;STRONG&gt;]&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;Reticle1Y= :Closest DUT# Y&lt;STRONG&gt;[&lt;/STRONG&gt;1&lt;STRONG&gt;]&lt;/STRONG&gt;;//&lt;SPAN style="font-family: Courier; font-size: 12px;"&gt;Closest DUT# Y&lt;/SPAN&gt; is a column&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;Reticle2Y= :Closest DUT# Y&lt;STRONG&gt;[&lt;/STRONG&gt;2&lt;STRONG&gt;]&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;AlignmentBump= :Alignment Bump&lt;STRONG&gt;[&lt;/STRONG&gt;1&lt;STRONG&gt;]&lt;/STRONG&gt;;//&lt;SPAN style="font-family: Courier; font-size: 12px;"&gt;Alignment Bump&lt;/SPAN&gt; is a column&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;This gives an error in the Log window:&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;&lt;STRONG style="color: #000000; font-family: Courier; font-size: 12px;"&gt;Cannot set value for the column 'Alignment Bump' because the row number (-1) is not valid.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;&lt;STRONG style="color: #000000; font-family: Courier; font-size: 12px;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;If I change the last line to&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;&lt;SPAN style="font-family: Courier; font-size: 12px;"&gt;AB= :Alignment Bump&lt;/SPAN&gt;[&lt;SPAN style="font-family: Courier; font-size: 12px;"&gt;1&lt;/SPAN&gt;]&lt;SPAN style="font-family: Courier; font-size: 12px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;&lt;SPAN style="font-family: Courier; font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: Courier;"&gt;&lt;SPAN style="font-family: Courier; font-size: 12px;"&gt;It works.&amp;nbsp; Is this a problem of the whitespace interpretation?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 17:19:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Error-Cannot-set-value-for-the-column-lt-name-gt-because-the-row/m-p/11753#M11257</guid>
      <dc:creator>Hegedus</dc:creator>
      <dc:date>2018-01-08T17:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this throwing an error?</title>
      <link>https://community.jmp.com/t5/Discussions/Error-Cannot-set-value-for-the-column-lt-name-gt-because-the-row/m-p/11754#M11258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is sort of a problem of whitespace. JSL doesn't recognize whitespace outside of quoted strings (see Script Formatting, &lt;A href="http://www.jmp.com/support/help/Terminology.shtml"&gt;here&lt;/A&gt;), so &lt;SPAN style="color: #555555; font-family: Courier; font-size: 12px;"&gt;AlignmentBump&lt;/SPAN&gt; and &lt;SPAN style="color: #555555; font-family: Courier; font-size: 12px;"&gt;Alignment Bump &lt;/SPAN&gt;are the same. That means that you're trying to create a variable with the same name as a column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that, but you'll need to use a &lt;A href="http://www.jmp.com/support/help/Advanced_Scoping_and_Namespaces.shtml#286982"&gt;scoping operator&lt;/A&gt; to keep them separate. A single : identifies a column and two :: identifies a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 01:06:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Error-Cannot-set-value-for-the-column-lt-name-gt-because-the-row/m-p/11754#M11258</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2015-04-04T01:06:11Z</dc:date>
    </item>
  </channel>
</rss>

