<?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 Exceptions are the utilities Show, Write, and Print ... in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Exceptions-are-the-utilities-Show-Write-and-Print/m-p/826294#M100718</link>
    <description>&lt;P&gt;&lt;EM&gt;from:&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/?os=win&amp;amp;source=application#page/jmp/advanced-expressions-macros-and-lists.shtml#" target="_blank" rel="noopener"&gt;https://www.jmp.com/support/help/en/18.1/?os=win&amp;amp;source=application#page/jmp/advanced-expressions-macros-and-lists.shtml#&lt;/A&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;If you assign the expression&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;x+y&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;, quoting it as an expression with&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class=""&gt;Expr&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;, then whenever&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is evaluated, it evaluates the expression using the current values of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;y&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#999999"&gt;&amp;nbsp;and returns the result.&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;Exceptions are the utilities &lt;STRONG&gt;Show, Write, and Print&lt;/STRONG&gt;, which do not evaluate expressions for pure name arguments.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x=5;
y=10;
a=expr(x+y);

Show( a ); // x + y 
Show(Name Expr(a)); // x + y 
Show(x+y); // 15&lt;BR /&gt;Show(x,y); // 5, 10&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if &lt;STRONG&gt;Show, Write and Print&lt;/STRONG&gt;&amp;nbsp;are the only exceptions ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 06:44:05 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2025-01-08T06:44:05Z</dc:date>
    <item>
      <title>Exceptions are the utilities Show, Write, and Print ...</title>
      <link>https://community.jmp.com/t5/Discussions/Exceptions-are-the-utilities-Show-Write-and-Print/m-p/826294#M100718</link>
      <description>&lt;P&gt;&lt;EM&gt;from:&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/?os=win&amp;amp;source=application#page/jmp/advanced-expressions-macros-and-lists.shtml#" target="_blank" rel="noopener"&gt;https://www.jmp.com/support/help/en/18.1/?os=win&amp;amp;source=application#page/jmp/advanced-expressions-macros-and-lists.shtml#&lt;/A&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;If you assign the expression&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;x+y&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;, quoting it as an expression with&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class=""&gt;Expr&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;, then whenever&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is evaluated, it evaluates the expression using the current values of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;y&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#999999"&gt;&amp;nbsp;and returns the result.&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;Exceptions are the utilities &lt;STRONG&gt;Show, Write, and Print&lt;/STRONG&gt;, which do not evaluate expressions for pure name arguments.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x=5;
y=10;
a=expr(x+y);

Show( a ); // x + y 
Show(Name Expr(a)); // x + y 
Show(x+y); // 15&lt;BR /&gt;Show(x,y); // 5, 10&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if &lt;STRONG&gt;Show, Write and Print&lt;/STRONG&gt;&amp;nbsp;are the only exceptions ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 06:44:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Exceptions-are-the-utilities-Show-Write-and-Print/m-p/826294#M100718</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-08T06:44:05Z</dc:date>
    </item>
  </channel>
</rss>

