<?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: Using JSL to add column where value for all rows is fixed character string in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-JSL-to-add-column-where-value-for-all-rows-is-fixed/m-p/2691#M2691</link>
    <description>Try using different variable names for the value of category and the column.  I've run into trouble in the past when my variable had the same name as one of my columns.</description>
    <pubDate>Tue, 07 Dec 2010 15:25:45 GMT</pubDate>
    <dc:creator>pmroz</dc:creator>
    <dc:date>2010-12-07T15:25:45Z</dc:date>
    <item>
      <title>Using JSL to add column where value for all rows is fixed character string</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JSL-to-add-column-where-value-for-all-rows-is-fixed/m-p/2690#M2690</link>
      <description>I have a script that opens a .txt file and is adding a column that categorizes that set of data with by asking user to enter a string to categorize it.  The file will be later joined with other files.  I cannot seem to pass the string into all rows for the new column.&lt;BR /&gt;&lt;BR /&gt;Once file is open:&lt;BR /&gt;&lt;BR /&gt;New Window ("New Window",&lt;BR /&gt;     &amp;lt;&lt;MODAL&gt;&lt;/MODAL&gt;     categorytextbox = Text Edit Box ( "Enter category here" ),&lt;BR /&gt;     Button Box ( "OK" ),&lt;BR /&gt;);&lt;BR /&gt;&lt;BR /&gt;::category = category &amp;lt;&amp;lt; get text;&lt;BR /&gt;&lt;BR /&gt;new column(&lt;BR /&gt;     "Category",&lt;BR /&gt;     Character,&lt;BR /&gt;     Nominal,&lt;BR /&gt;     Formula (::category),&lt;BR /&gt;);&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.  I've tried using Set Values function instead of formula with no success.</description>
      <pubDate>Tue, 07 Dec 2010 15:10:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JSL-to-add-column-where-value-for-all-rows-is-fixed/m-p/2690#M2690</guid>
      <dc:creator>bhagbom</dc:creator>
      <dc:date>2010-12-07T15:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using JSL to add column where value for all rows is fixed character string</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JSL-to-add-column-where-value-for-all-rows-is-fixed/m-p/2691#M2691</link>
      <description>Try using different variable names for the value of category and the column.  I've run into trouble in the past when my variable had the same name as one of my columns.</description>
      <pubDate>Tue, 07 Dec 2010 15:25:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JSL-to-add-column-where-value-for-all-rows-is-fixed/m-p/2691#M2691</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2010-12-07T15:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using JSL to add column where value for all rows is fixed character string</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JSL-to-add-column-where-value-for-all-rows-is-fixed/m-p/2692#M2692</link>
      <description>Thanks PMroz!  It appears that solved the issue!</description>
      <pubDate>Tue, 07 Dec 2010 16:32:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JSL-to-add-column-where-value-for-all-rows-is-fixed/m-p/2692#M2692</guid>
      <dc:creator>bhagbom</dc:creator>
      <dc:date>2010-12-07T16:32:30Z</dc:date>
    </item>
  </channel>
</rss>

