<?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 Extract Expr: Issue with scoped variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Extract-Expr-Issue-with-scoped-variable/m-p/826242#M100712</link>
    <description>&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Extract Expr(:height &amp;lt;&amp;lt; set name( "new" ), :height );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this one doesn't *):&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Extract Expr(myDataTable:height &amp;lt;&amp;lt; set name( "new" ), myDataTable:height );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Fortunately there is this dirty trick of &lt;FONT face="courier new,courier"&gt;Extract Expr&lt;/FONT&gt; (it automatically resolves every defined variable **) - which allows this workaround:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x = Expr( myDataTable:height);
Extract Expr(myDataTable:height &amp;lt;&amp;lt; set name( "new" ), x )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*) why?&lt;/P&gt;&lt;P&gt;maybe related to (**)?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2025 19:36:31 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2025-01-07T19:36:31Z</dc:date>
    <item>
      <title>Extract Expr: Issue with scoped variable</title>
      <link>https://community.jmp.com/t5/Discussions/Extract-Expr-Issue-with-scoped-variable/m-p/826242#M100712</link>
      <description>&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Extract Expr(:height &amp;lt;&amp;lt; set name( "new" ), :height );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this one doesn't *):&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Extract Expr(myDataTable:height &amp;lt;&amp;lt; set name( "new" ), myDataTable:height );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Fortunately there is this dirty trick of &lt;FONT face="courier new,courier"&gt;Extract Expr&lt;/FONT&gt; (it automatically resolves every defined variable **) - which allows this workaround:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x = Expr( myDataTable:height);
Extract Expr(myDataTable:height &amp;lt;&amp;lt; set name( "new" ), x )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*) why?&lt;/P&gt;&lt;P&gt;maybe related to (**)?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 19:36:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extract-Expr-Issue-with-scoped-variable/m-p/826242#M100712</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-07T19:36:31Z</dc:date>
    </item>
  </channel>
</rss>

