<?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 passing a variable in the Set Property fore a column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/passing-a-variable-in-the-Set-Property-fore-a-column/m-p/484615#M72877</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can somebody explain how I can pass a variable into, for example, spec limits?&lt;/P&gt;
&lt;P&gt;I want the spec limit for the column "dt:frac" to be "uls_value"&lt;/P&gt;
&lt;P&gt;So I define the&amp;nbsp; value:&lt;/P&gt;
&lt;P&gt;usl_value=0.05;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then I tried:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt:frac &amp;lt;&amp;lt;Set Property( "Spec Limits", {USL(eval(usl_value)), Show Limits( 1 )} );
dt:frac &amp;lt;&amp;lt;Set Property( "Spec Limits", {USL(expr(usl_value)), Show Limits( 1 )} );
dt:frac &amp;lt;&amp;lt;Set Property( "Spec Limits", {USL(usl_value), Show Limits( 1 )} );&lt;/CODE&gt;They are all scriptable but none does the trick.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:58:29 GMT</pubDate>
    <dc:creator>ValeriaL</dc:creator>
    <dc:date>2023-06-09T16:58:29Z</dc:date>
    <item>
      <title>passing a variable in the Set Property fore a column</title>
      <link>https://community.jmp.com/t5/Discussions/passing-a-variable-in-the-Set-Property-fore-a-column/m-p/484615#M72877</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can somebody explain how I can pass a variable into, for example, spec limits?&lt;/P&gt;
&lt;P&gt;I want the spec limit for the column "dt:frac" to be "uls_value"&lt;/P&gt;
&lt;P&gt;So I define the&amp;nbsp; value:&lt;/P&gt;
&lt;P&gt;usl_value=0.05;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then I tried:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt:frac &amp;lt;&amp;lt;Set Property( "Spec Limits", {USL(eval(usl_value)), Show Limits( 1 )} );
dt:frac &amp;lt;&amp;lt;Set Property( "Spec Limits", {USL(expr(usl_value)), Show Limits( 1 )} );
dt:frac &amp;lt;&amp;lt;Set Property( "Spec Limits", {USL(usl_value), Show Limits( 1 )} );&lt;/CODE&gt;They are all scriptable but none does the trick.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:58:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/passing-a-variable-in-the-Set-Property-fore-a-column/m-p/484615#M72877</guid>
      <dc:creator>ValeriaL</dc:creator>
      <dc:date>2023-06-09T16:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: passing a variable in the Set Property fore a column</title>
      <link>https://community.jmp.com/t5/Discussions/passing-a-variable-in-the-Set-Property-fore-a-column/m-p/484634#M72878</link>
      <description>&lt;P&gt;In JSL lists are unevaluated, so anything within a list that you want evaluated you'll need to wrap in an &lt;CODE class=" language-jsl"&gt;Eval( Eval Expr( ... ) )&lt;/CODE&gt; function, such as this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval( Eval Expr(
	dt:frac &amp;lt;&amp;lt; Set Property( "Spec Limits", {USL( Expr( usl_value ) ), Show Limits( 1 )} )
) )&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 May 2022 23:26:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/passing-a-variable-in-the-Set-Property-fore-a-column/m-p/484634#M72878</guid>
      <dc:creator>ErraticAttack</dc:creator>
      <dc:date>2022-05-05T23:26:36Z</dc:date>
    </item>
  </channel>
</rss>

