<?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 Value Ordering in JMP Script by a Variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/6365#M6361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my data set I will be using a column, called Set, as my x-axis variable in a barchart.&amp;nbsp; I want them to be sorted in the order from smallest response value to largest response value so I have bars that are increasing in length.&amp;nbsp; For example if I have the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -7&lt;/P&gt;&lt;P&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would want the order in the barchart to be B, A, C.&amp;nbsp; Obviously I can set the property like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set &amp;lt;&amp;lt;Set Property("Value Ordering", &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{"B", "A", "C"}), but I am trying to do this without needing to hard code the names.&amp;nbsp; I'd like to be able to do the value ordering BY a variable, specifically by my response.&amp;nbsp; I want this to be a standard script I can apply to multiple data sets without needing to change it time after time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Michael.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 21:15:30 GMT</pubDate>
    <dc:creator>mjbauer</dc:creator>
    <dc:date>2013-02-25T21:15:30Z</dc:date>
    <item>
      <title>Value Ordering in JMP Script by a Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/6365#M6361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my data set I will be using a column, called Set, as my x-axis variable in a barchart.&amp;nbsp; I want them to be sorted in the order from smallest response value to largest response value so I have bars that are increasing in length.&amp;nbsp; For example if I have the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -7&lt;/P&gt;&lt;P&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would want the order in the barchart to be B, A, C.&amp;nbsp; Obviously I can set the property like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set &amp;lt;&amp;lt;Set Property("Value Ordering", &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{"B", "A", "C"}), but I am trying to do this without needing to hard code the names.&amp;nbsp; I'd like to be able to do the value ordering BY a variable, specifically by my response.&amp;nbsp; I want this to be a standard script I can apply to multiple data sets without needing to change it time after time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Michael.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 21:15:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/6365#M6361</guid>
      <dc:creator>mjbauer</dc:creator>
      <dc:date>2013-02-25T21:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Value Ordering in JMP Script by a Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/6366#M6362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This apporach should work for the example above. However, it just occurred to me that if two or more levels have exactly the same response it will fail (only one of any tied levels will be represented in the list).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #150097;"&gt;:&lt;/SPAN&gt;Set &lt;SPAN style="color: #150097;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; Set Property&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;"Value Ordering"&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #2600eb;"&gt;Eval&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #2600eb;"&gt;Associative Array&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;:&lt;/SPAN&gt;Response&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #150097;"&gt;:&lt;/SPAN&gt;Set &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; get values &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 22:31:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/6366#M6362</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2013-02-25T22:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Value Ordering in JMP Script by a Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/6367#M6363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The below approach is better (oneliner's fun but rarely sufficient...). It should work even if there are ties and also if there are several values for each level and the the value ordering is to be based on e.g. the mean response of each level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #2600eb;"&gt;Summarize&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; g &lt;SPAN style="color: #150097;"&gt;=&lt;/SPAN&gt; by&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;:&lt;/SPAN&gt;Set &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt; m &lt;SPAN style="color: #150097;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #2600eb;"&gt;Mean&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;:&lt;/SPAN&gt;Response &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #150097;"&gt;:&lt;/SPAN&gt;Set &lt;SPAN style="color: #150097;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; Set Property&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #a70096;"&gt;"Value Ordering"&lt;/SPAN&gt;&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #2600eb;"&gt;Eval&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; g&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;SPAN style="color: #2600eb;"&gt;Rank Index&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; m &lt;STRONG&gt;)]&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 22:56:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/6367#M6363</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2013-02-25T22:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Value Ordering in JMP Script by a Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/37533#M22016</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;I'm replying to this thread&amp;nbsp;because of similar problem for value ordering.&amp;nbsp;I still can't figure out when to use Expr and Eval Expr&amp;nbsp;for Column Properties in JSL for JMP 12 or JMP 13. It seems the general form should work:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;Set &lt;SPAN&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; Set Property&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN&gt;"Value Ordering"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;Eval&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; {mylist} &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;Set &lt;SPAN&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; Set Property&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN&gt;"Value Ordering"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;Eval&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; {my1,my2} &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;SPAN&gt;In the Big Class data, try to set column :sex to put "M" before "F":&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;my1 &lt;FONT color="#000080"&gt;=&lt;/FONT&gt; &lt;FONT color="#800080"&gt;"M"&lt;/FONT&gt;&lt;FONT color="#000080"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;my2 &lt;FONT color="#000080"&gt;=&lt;/FONT&gt; &lt;FONT color="#800080"&gt;"F"&lt;/FONT&gt;&lt;FONT color="#000080"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#000080"&gt;:&lt;/FONT&gt;sex &lt;FONT color="#000080"&gt;&amp;lt;&amp;lt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080"&gt;Set Property&lt;/FONT&gt;(&lt;/STRONG&gt;&lt;FONT color="#800080"&gt;"Value Ordering"&lt;/FONT&gt;&lt;FONT color="#000080"&gt;,&lt;/FONT&gt;Eval(&lt;STRONG&gt;{&lt;/STRONG&gt;my1&lt;FONT color="#000080"&gt;,&lt;/FONT&gt;my2&lt;STRONG&gt;}))&lt;/STRONG&gt;&lt;FONT color="#000080"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#000080"&gt;But it puts in the text "my1" and "my2" instead of "M" and "F".&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#000080"&gt;I copied the post for how to add spec limits as a column property. &lt;A href="http://www.jmp.com/support/notes/46/953.html" target="_blank"&gt;http://www.jmp.com/support/notes/46/953.html&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#000080"&gt;It appears you have to use Expr and Eval Expr just to get the character variables to show. If you try this portion only:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#000080"&gt;:&lt;/FONT&gt;sex &lt;FONT color="#000080"&gt;&amp;lt;&amp;lt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080"&gt;Set Property&lt;/FONT&gt;(&lt;/STRONG&gt;&lt;FONT color="#800080"&gt;"Value Ordering"&lt;/FONT&gt;&lt;FONT color="#000080"&gt;,&lt;/FONT&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;FONT color="#0000dd"&gt;Expr&lt;/FONT&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;my1&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;FONT color="#000080"&gt;,&lt;/FONT&gt;&lt;FONT color="#0000dd"&gt;Expr&lt;/FONT&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;my2&lt;STRONG&gt;)})&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;You get the text "Expr" and "Expr" in the column property. If you include Eval Expr with the Expr, you get returned to the log the correct phrase.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#0000dd"&gt;Eval Expr&lt;/FONT&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#000080"&gt;:&lt;/FONT&gt;sex &lt;FONT color="#000080"&gt;&amp;lt;&amp;lt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080"&gt;Set Property&lt;/FONT&gt;(&lt;/STRONG&gt;&lt;FONT color="#800080"&gt;"Value Ordering"&lt;/FONT&gt;&lt;FONT color="#000080"&gt;,&lt;/FONT&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;FONT color="#0000dd"&gt;Expr&lt;/FONT&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;my1&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;FONT color="#000080"&gt;,&lt;/FONT&gt;&lt;FONT color="#0000dd"&gt;Expr&lt;/FONT&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;my2&lt;STRONG&gt;)})&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;FONT color="#000080"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;returns:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;:sex &amp;lt;&amp;lt; Set Property( "Value Ordering", {"M", "F"} )&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;and finally this entire code sets the column property correctly. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#0000dd"&gt;Eval&lt;/FONT&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#0000dd"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Eval Expr&lt;/FONT&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/FONT&gt;sex &lt;FONT color="#000080"&gt;&amp;lt;&amp;lt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080"&gt;Set Property&lt;/FONT&gt;(&lt;/STRONG&gt;&lt;FONT color="#800080"&gt;"Value Ordering"&lt;/FONT&gt;&lt;FONT color="#000080"&gt;,&lt;/FONT&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;FONT color="#0000dd"&gt;Expr&lt;/FONT&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;my1&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;FONT color="#000080"&gt;,&lt;/FONT&gt;&lt;FONT color="#0000dd"&gt;Expr&lt;/FONT&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;my2&lt;STRONG&gt;)})&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;FONT color="#000080"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000080"&gt;The explanation from the spec limits post was "the column stores the column property with the values supplied without evaluation or validation of the supplied arguments. In order to add column properties using JSL code which contains variables, the script must convert any variables to their actual values."&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:27:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/37533#M22016</guid>
      <dc:creator>Vball247</dc:creator>
      <dc:date>2017-03-27T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Value Ordering in JMP Script by a Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/37534#M22017</link>
      <description>&lt;P&gt;Or you can use Eval List to evaluate all members of a list:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:sex &amp;lt;&amp;lt; Set Property("Value Ordering",Eval List({my1,my2}));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:54:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/37534#M22017</guid>
      <dc:creator>Melanie_J_Drake</dc:creator>
      <dc:date>2017-03-27T14:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Value Ordering in JMP Script by a Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/37543#M22018</link>
      <description>&lt;P&gt;Great! I see that works for this case. But in the spec limits case, that list does not evaluate? I get an error that it does not seem to like the LSL argument when evaluating the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas"&gt;lLimit = &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas"&gt;55&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas"&gt;uLimit = &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas"&gt;70&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas"&gt;tLimit = &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas"&gt;62.5&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas"&gt;:height &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;Set Property&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;(&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas"&gt;"Spec Limits"&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas"&gt;Eval List&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;({LSL(lLimit), USL(uLimit), Target(tLimit)}));&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 16:30:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/37543#M22018</guid>
      <dc:creator>Vball247</dc:creator>
      <dc:date>2017-03-27T16:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Value Ordering in JMP Script by a Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/37544#M22019</link>
      <description>&lt;P&gt;In the first case, the list contains only variable names. The Eval List simply evaluates each variable. In the second case, the list contains things (LSL, USL, Target) that only make sense in the context of the Set Property message&amp;nbsp;as a whole. Eval List doesn't know about that context, so it can't figure out what to do with the first thing it sees: LSL. For that case, you'll have to use the more complex expression that you worked out for the other case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;lLimit = 55;
uLimit = 70;
tLimit = 62.5;
　
Eval(
	Eval Expr(
		:height &amp;lt;&amp;lt; Set Property(
			"Spec Limits",
			{LSL( Expr( lLimit ) ), USL( Expr( uLimit ) ), Target( Expr( tLimit ) )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Mar 2017 16:56:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/37544#M22019</guid>
      <dc:creator>Melanie_J_Drake</dc:creator>
      <dc:date>2017-03-27T16:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Value Ordering in JMP Script by a Variable</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/424989#M67423</link>
      <description>&lt;P&gt;FYI for JMP 16 to add Value Ordering I had to change the format to:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:col &amp;lt;&amp;lt; Set Property(
	"Value Ordering",
	Eval(myList)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 09 Oct 2021 13:57:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Ordering-in-JMP-Script-by-a-Variable/m-p/424989#M67423</guid>
      <dc:creator>bswedlove</dc:creator>
      <dc:date>2021-10-09T13:57:49Z</dc:date>
    </item>
  </channel>
</rss>

