<?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: Scripting/Row State Columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16736#M15254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The column "Break - Cause Not Known" is being parsed by JMP as being an assignment statement.&amp;nbsp; This is because of the "-" in the name.&amp;nbsp; Change the statement to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt:Name("Break -&amp;nbsp; Cause Not Known")&amp;lt;&amp;lt;Copy to Row States();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2016 12:27:38 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2016-02-05T12:27:38Z</dc:date>
    <item>
      <title>Scripting/Row State Columns</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16733#M15251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data table with several Row State columns.&amp;nbsp; I also have several scripts saved to the data table for analysis.&amp;nbsp; Each script requires its own Row States, so I have to remember which Row State column goes with which script and then copy to Row States from the columns.&amp;nbsp; Is there a way to edit my scripts to set the correct row states before the analysis is done?&amp;nbsp; Thanks for any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:37:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16733#M15251</guid>
      <dc:creator>Steven_Moore</dc:creator>
      <dc:date>2016-02-04T21:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting/Row State Columns</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16734#M15252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All you need to do, is to add to the top of your script the jsl to copy the rowstate column to the rowstates before your do the analysis.&amp;nbsp; Assuming the rowstate column is called RowState_1, all that you have to do is to have the following at the beginning of your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Names Default to Here( 1 );&lt;/P&gt;&lt;P&gt;dt=current data table();&lt;/P&gt;&lt;P&gt;dt:RowState_1 &amp;lt;&amp;lt; Copy to Row States();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:45:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16734#M15252</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-02-04T21:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting/Row State Columns</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16735#M15253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; Jim,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Here is the script I am trying to run with the three lines added that you suggest..&amp;nbsp; My Row State column is "Break - Cause Not Known".&amp;nbsp; Now this script will not run.&amp;nbsp; What am I missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;THANKS!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Names Default to Here( 1 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;dt=current data table();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;dt:Break - Cause Not Known &amp;lt;&amp;lt; Copy to Row States();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Graph Builder(Size( 661, 500 ),Variables( X( :Downtime Category ), Y( :Total Minutes Down ), Overlay( :Crew ) ),Elements(Bar(X,Y,Legend( 7 ),Summary Statistic( "N" ),Label( "Label by Value" ))),SendToReport(Dispatch({},"graph title",TextEditBox,{Set Text("Line 180:&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Number Of Stops By Category By Crew - January 2016)}),Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),Dispatch( {}, "Y title", TextEditBox, {Set Text( "Number Of Stops" )} )))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 12:20:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16735#M15253</guid>
      <dc:creator>Steven_Moore</dc:creator>
      <dc:date>2016-02-05T12:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting/Row State Columns</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16736#M15254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The column "Break - Cause Not Known" is being parsed by JMP as being an assignment statement.&amp;nbsp; This is because of the "-" in the name.&amp;nbsp; Change the statement to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt:Name("Break -&amp;nbsp; Cause Not Known")&amp;lt;&amp;lt;Copy to Row States();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 12:27:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16736#M15254</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-02-05T12:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting/Row State Columns</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16737#M15255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it!&amp;nbsp; The name of the Row State column has to be in quotes!&amp;nbsp; Works great!&amp;nbsp; Thanks!!!!!!&amp;nbsp; The JSL is all Greek to me - I am an old Fortran/Basic guy and my brain does not seem to be wired for JSL....YET.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 12:28:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16737#M15255</guid>
      <dc:creator>Steven_Moore</dc:creator>
      <dc:date>2016-02-05T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting/Row State Columns</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16738#M15256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My background started much the same as yours.&amp;nbsp; JSL is a powerful language that one keeps learning more and more about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&lt;/P&gt;&lt;P&gt;Please click on the "Correct Answer" button to mark this discussion as Answered to help the responders quickly identify it as having been responded to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 12:39:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Row-State-Columns/m-p/16738#M15256</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-02-05T12:39:17Z</dc:date>
    </item>
  </channel>
</rss>

