<?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: Loop through reports and extract title in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Loop-through-reports-and-extract-title/m-p/777751#M95923</link>
    <description>&lt;P&gt;Try changing&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;report_title = curr_anova &amp;lt;&amp;lt; report &amp;lt;&amp;lt; get  title("string")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to (the brackets being the most important)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;report_title = (curr_anova &amp;lt;&amp;lt; report) &amp;lt;&amp;lt; get  title;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 31 Jul 2024 16:16:29 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-07-31T16:16:29Z</dc:date>
    <item>
      <title>Loop through reports and extract title</title>
      <link>https://community.jmp.com/t5/Discussions/Loop-through-reports-and-extract-title/m-p/777741#M95922</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to loop through all reports generated from an ANOVA-oneway. I create a list of the reports&amp;nbsp;&lt;EM&gt;anova_list.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I manually try to extract the title from a report with the following syntaxt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;curr_anova = anova_list[1]&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;report_title = curr_anova &amp;lt;&amp;lt; report &amp;lt;&amp;lt; get&amp;nbsp; title("string")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the output is what I expect - some variation of:&amp;nbsp;&lt;EM&gt;Oneway Analysis of Y by X by1=by1val by2=by2val ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I try to do this in a loop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for(i = 1, i&amp;lt;= n items(anova_list), i++,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;curr_anova = anova_list[i]&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;report_title = curr_anova &amp;lt;&amp;lt; report &amp;lt;&amp;lt; get&amp;nbsp; title("string")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the output of&amp;nbsp;&lt;EM&gt;report_title&amp;nbsp;&lt;/EM&gt;is&amp;nbsp;&lt;EM&gt;DisplayBox[OutlineBox].&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I making an oversight on the syntax? I have tried different combinations of evals to see if the output change, to no avail.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:08:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Loop-through-reports-and-extract-title/m-p/777741#M95922</guid>
      <dc:creator>doctorfizz</dc:creator>
      <dc:date>2024-07-31T16:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through reports and extract title</title>
      <link>https://community.jmp.com/t5/Discussions/Loop-through-reports-and-extract-title/m-p/777751#M95923</link>
      <description>&lt;P&gt;Try changing&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;report_title = curr_anova &amp;lt;&amp;lt; report &amp;lt;&amp;lt; get  title("string")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to (the brackets being the most important)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;report_title = (curr_anova &amp;lt;&amp;lt; report) &amp;lt;&amp;lt; get  title;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:16:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Loop-through-reports-and-extract-title/m-p/777751#M95923</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-07-31T16:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through reports and extract title</title>
      <link>https://community.jmp.com/t5/Discussions/Loop-through-reports-and-extract-title/m-p/777752#M95924</link>
      <description>&lt;P&gt;jthi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the suggestion. This indeed does the trick!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I ask why this is different? What does the containment with parenthesis do?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:20:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Loop-through-reports-and-extract-title/m-p/777752#M95924</guid>
      <dc:creator>doctorfizz</dc:creator>
      <dc:date>2024-07-31T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through reports and extract title</title>
      <link>https://community.jmp.com/t5/Discussions/Loop-through-reports-and-extract-title/m-p/777754#M95926</link>
      <description>&lt;P&gt;Your original version created a 'message cascade:"&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;result = obj &amp;lt;&amp;lt; message 1 &amp;lt;&amp;lt; message 2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The result is from the succession of messages to the same object. Using the parentheses sends the second message to the result of sending the first message.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 16:26:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Loop-through-reports-and-extract-title/m-p/777754#M95926</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2024-07-31T16:26:55Z</dc:date>
    </item>
  </channel>
</rss>

