cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-777741%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E3%82%92%E3%83%AB%E3%83%BC%E3%83%97%E3%81%97%E3%81%A6%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB%E3%82%92%E6%8A%BD%E5%87%BA%E3%81%99%E3%82%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777741%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EANOVA-oneway%20%E3%81%8B%E3%82%89%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E3%81%99%E3%81%B9%E3%81%A6%E3%81%AE%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E3%82%92%E3%83%AB%E3%83%BC%E3%83%97%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E3%81%AE%E3%83%AA%E3%82%B9%E3%83%88%3CEM%3Eanova_list%20%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FEM%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E6%AC%A1%E3%81%AE%E6%A7%8B%E6%96%87%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E3%81%8B%E3%82%89%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB%E3%82%92%E6%89%8B%E5%8B%95%E3%81%A7%E6%8A%BD%E5%87%BA%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CEM%3Ecurr_anova%20%3D%20anova_list%5B1%5D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3Ereport_title%20%3D%20curr_anova%20%26lt%3B%26lt%3B%20report%20%26lt%3B%26lt%3B%20get%20title(%22%E6%96%87%E5%AD%97%E5%88%97%22)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E5%87%BA%E5%8A%9B%E3%81%AF%E6%9C%9F%E5%BE%85%E3%81%A9%E3%81%8A%E3%82%8A%E3%81%A7%E3%80%81%E6%AC%A1%E3%81%AE%E3%82%88%E3%81%86%E3%81%AA%E3%83%90%E3%83%AA%E3%82%A8%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%A7%E3%81%99%3A%20%3CEM%3EY%20%E3%81%AB%E3%82%88%E3%82%8B%20X%20%E3%81%AE%E4%B8%80%E5%85%83%E9%85%8D%E7%BD%AE%E5%88%86%E6%9E%90%20by1%3Dby1val%20by2%3Dby2val%20...%3C%2FEM%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E3%81%97%E3%81%8B%E3%81%97%E3%81%93%E3%82%8C%E3%82%92%E3%83%AB%E3%83%BC%E3%83%97%E3%81%A7%E5%AE%9F%E8%A1%8C%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%99%E3%82%8B%E3%81%A8%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CEM%3Efor(i%20%3D%201%2C%20i%26lt%3B%3D%20n%20%E9%A0%85%E7%9B%AE(anova_list)%2C%20i%2B%2B%2C%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3Ecurr_anova%20%3D%20anova_list%5Bi%5D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3Ereport_title%20%3D%20curr_anova%20%26lt%3B%26lt%3B%20report%20%26lt%3B%26lt%3B%20get%20title(%22%E6%96%87%E5%AD%97%E5%88%97%22)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CEM%3Ereport_title%3C%2FEM%3E%E3%81%AE%E5%87%BA%E5%8A%9B%E3%81%AF%3CEM%3EDisplayBox%5BOutlineBox%5D%E3%81%A7%E3%81%99%E3%80%82%3C%2FEM%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E6%A7%8B%E6%96%87%E3%82%92%E8%A6%8B%E8%90%BD%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%81%AE%E3%81%A7%E3%81%97%E3%82%87%E3%81%86%E3%81%8B%3F%20%E5%87%BA%E5%8A%9B%E3%81%8C%E5%A4%89%E5%8C%96%E3%81%99%E3%82%8B%E3%81%8B%E3%81%A9%E3%81%86%E3%81%8B%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E3%80%81%E3%81%95%E3%81%BE%E3%81%96%E3%81%BE%E3%81%AA%20eval%20%E3%81%AE%E7%B5%84%E3%81%BF%E5%90%88%E3%82%8F%E3%81%9B%E3%82%92%E8%A9%A6%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%81%8C%E3%80%81%E5%8A%B9%E6%9E%9C%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%81%A7%E3%81%97%E3%81%9F%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-777741%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3E%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA%E3%83%87%E3%83%BC%E3%82%BF%E5%88%86%E6%9E%90%E3%81%A8%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%82%BA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777751%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E3%82%92%E3%83%AB%E3%83%BC%E3%83%97%E3%81%97%E3%81%A6%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB%E3%82%92%E6%8A%BD%E5%87%BA%E3%81%99%E3%82%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777751%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%A4%89%E6%9B%B4%E3%81%97%E3%81%A6%E3%81%BF%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Ereport_title%20%3D%20curr_anova%20%26lt%3B%26lt%3B%20report%20%26lt%3B%26lt%3B%20get%20%20title(%22string%22)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%EF%BC%88%E6%8B%AC%E5%BC%A7%E3%81%8C%E6%9C%80%E3%82%82%E9%87%8D%E8%A6%81%E3%81%A7%E3%81%99%EF%BC%89%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Ereport_title%20%3D%20(curr_anova%20%26lt%3B%26lt%3B%20report)%20%26lt%3B%26lt%3B%20get%20%20title%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777752%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E3%82%92%E3%83%AB%E3%83%BC%E3%83%97%E3%81%97%E3%81%A6%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB%E3%82%92%E6%8A%BD%E5%87%BA%E3%81%99%E3%82%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777752%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%82%B8%E3%83%86%E3%82%A3%E3%80%81%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E3%81%94%E6%8F%90%E6%A1%88%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%81%94%E3%81%96%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E7%A2%BA%E3%81%8B%E3%81%AB%E3%81%93%E3%82%8C%E3%81%A7%E3%81%86%E3%81%BE%E3%81%8F%E3%81%84%E3%81%8D%E3%81%BE%E3%81%97%E3%81%9F!%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E3%81%AA%E3%81%9C%E3%81%93%E3%82%8C%E3%81%8C%E7%95%B0%E3%81%AA%E3%82%8B%E3%81%AE%E3%81%8B%E6%95%99%E3%81%88%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%8B%3F%20%E6%8B%AC%E5%BC%A7%E3%81%AB%E3%82%88%E3%82%8B%E5%8C%85%E5%90%AB%E3%81%AF%E4%BD%95%E3%82%92%E3%81%97%E3%81%BE%E3%81%99%E3%81%8B%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777754%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E3%82%92%E3%83%AB%E3%83%BC%E3%83%97%E3%81%97%E3%81%A6%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB%E3%82%92%E6%8A%BD%E5%87%BA%E3%81%99%E3%82%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777754%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%85%83%E3%81%AE%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%81%A7%E3%81%AF%E3%80%81%E3%80%8C%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%20%E3%82%AB%E3%82%B9%E3%82%B1%E3%83%BC%E3%83%89%E3%80%8D%E3%81%8C%E4%BD%9C%E6%88%90%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Eresult%20%3D%20obj%20%26lt%3B%26lt%3B%20message%201%20%26lt%3B%26lt%3B%20message%202%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%E7%B5%90%E6%9E%9C%E3%81%AF%E3%80%81%E5%90%8C%E3%81%98%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%B8%E3%81%AE%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E3%81%AE%E9%80%A3%E7%B6%9A%E3%81%8B%E3%82%89%E5%BE%97%E3%82%89%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82%E6%8B%AC%E5%BC%A7%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E3%81%A8%E3%80%812%20%E7%95%AA%E7%9B%AE%E3%81%AE%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E3%81%8C%E6%9C%80%E5%88%9D%E3%81%AE%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E3%81%AE%E9%80%81%E4%BF%A1%E7%B5%90%E6%9E%9C%E3%81%AB%E9%80%81%E4%BF%A1%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
doctorfizz
Level II

Loop through reports and extract title

Hello,

 

I am trying to loop through all reports generated from an ANOVA-oneway. I create a list of the reports anova_list. 

 

If I manually try to extract the title from a report with the following syntaxt

 

curr_anova = anova_list[1] 

report_title = curr_anova << report << get  title("string")

 

the output is what I expect - some variation of: Oneway Analysis of Y by X by1=by1val by2=by2val ...

 

But when I try to do this in a loop

 

for(i = 1, i<= n items(anova_list), i++,

curr_anova = anova_list[i] 

report_title = curr_anova << report << get  title("string")

)

 

the output of report_title is DisplayBox[OutlineBox].

 

Am I making an oversight on the syntax? I have tried different combinations of evals to see if the output change, to no avail. 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Loop through reports and extract title

Try changing

report_title = curr_anova << report << get  title("string")

 

to (the brackets being the most important)

 

report_title = (curr_anova << report) << get  title;
-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: Loop through reports and extract title

Try changing

report_title = curr_anova << report << get  title("string")

 

to (the brackets being the most important)

 

report_title = (curr_anova << report) << get  title;
-Jarmo
doctorfizz
Level II

Re: Loop through reports and extract title

jthi,

 

thanks for the suggestion. This indeed does the trick! 

 

May I ask why this is different? What does the containment with parenthesis do? 

Re: Loop through reports and extract title

Your original version created a 'message cascade:"

result = obj << message 1 << message 2;

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.