cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-777741%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%EB%B3%B4%EA%B3%A0%EC%84%9C%20%EB%B0%98%EB%B3%B5%20%EB%B0%8F%20%EC%A0%9C%EB%AA%A9%20%EC%B6%94%EC%B6%9C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777741%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%EC%95%88%EB%85%95%ED%95%98%EC%84%B8%EC%9A%94%2C%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EC%9D%BC%EC%9B%90%20%EB%B6%84%EC%82%B0%20%EB%B6%84%EC%84%9D%EC%97%90%EC%84%9C%20%EC%83%9D%EC%84%B1%EB%90%9C%20%EB%AA%A8%EB%93%A0%20%EB%B3%B4%EA%B3%A0%EC%84%9C%EB%A5%BC%20%EB%B0%98%EB%B3%B5%ED%95%98%EB%A0%A4%EA%B3%A0%20%ED%95%A9%EB%8B%88%EB%8B%A4.%20%EB%B3%B4%EA%B3%A0%EC%84%9C%20%3CEM%3Eanova_list%20%EB%AA%A9%EB%A1%9D%EC%9D%84%20%EB%A7%8C%EB%93%AD%EB%8B%88%EB%8B%A4.%3C%2FEM%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EB%8B%A4%EC%9D%8C%20%EA%B5%AC%EB%AC%B8%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%EB%B3%B4%EA%B3%A0%EC%84%9C%EC%97%90%EC%84%9C%20%EC%A0%9C%EB%AA%A9%EC%9D%84%20%EC%88%98%EB%8F%99%EC%9C%BC%EB%A1%9C%20%EC%B6%94%EC%B6%9C%ED%95%98%EB%A0%A4%EA%B3%A0%20%ED%95%98%EB%A9%B4%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%20%EB%B3%B4%EA%B3%A0%EC%84%9C%20%26lt%3B%26lt%3B%20%EC%A0%9C%EB%AA%A9%20%EA%B0%80%EC%A0%B8%EC%98%A4%EA%B8%B0(%22string%22)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EC%B6%9C%EB%A0%A5%EC%9D%80%20%EB%82%B4%EA%B0%80%20%EA%B8%B0%EB%8C%80%ED%95%98%EB%8A%94%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%20%EB%8B%A4%EC%9D%8C%EA%B3%BC%20%EA%B0%99%EC%9D%80%20%EB%B3%80%ED%98%95%EC%9D%B4%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%3CEM%3EX%20by1%3Dby1val%20by2%3Dby2val%EC%97%90%20%EC%9D%98%ED%95%9C%20Y%EC%9D%98%20%EC%9D%BC%EC%9B%90%20%EB%B6%84%EC%84%9D%20...%3C%2FEM%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%ED%95%98%EC%A7%80%EB%A7%8C%20%EB%A3%A8%ED%94%84%EC%97%90%EC%84%9C%20%EC%9D%B4%20%EC%9E%91%EC%97%85%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%98%EB%A0%A4%EA%B3%A0%20%ED%95%98%EB%A9%B4%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CEM%3Efor(i%20%3D%201%2C%20i%26lt%3B%3D%20n%20%ED%95%AD%EB%AA%A9(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%20%EB%B3%B4%EA%B3%A0%EC%84%9C%20%26lt%3B%26lt%3B%20%EC%A0%9C%EB%AA%A9%20%EA%B0%80%EC%A0%B8%EC%98%A4%EA%B8%B0(%22string%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%20%EC%9D%98%20%EC%B6%9C%EB%A0%A5%EC%9D%80%20%3CEM%3EDisplayBox%5BOutlineBox%5D%EC%9E%85%EB%8B%88%EB%8B%A4.%3C%2FEM%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EA%B5%AC%EB%AC%B8%EC%9D%84%20%EA%B0%90%EB%8F%85%ED%95%98%EA%B3%A0%20%EC%9E%88%EC%8A%B5%EB%8B%88%EA%B9%8C%3F%20%EC%B6%9C%EB%A0%A5%EC%9D%B4%20%EB%B3%80%EA%B2%BD%EB%90%98%EB%8A%94%EC%A7%80%20%ED%99%95%EC%9D%B8%ED%95%98%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%EB%8B%A4%EC%96%91%ED%95%9C%20%ED%8F%89%EA%B0%80%20%EC%A1%B0%ED%95%A9%EC%9D%84%20%EC%8B%9C%EB%8F%84%ED%96%88%EC%A7%80%EB%A7%8C%20%EC%86%8C%EC%9A%A9%EC%9D%B4%20%EC%97%86%EC%97%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%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%EA%B8%B0%EB%B3%B8%20%EB%8D%B0%EC%9D%B4%ED%84%B0%20%EB%B6%84%EC%84%9D%20%EB%B0%8F%20%EB%AA%A8%EB%8D%B8%EB%A7%81%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%EC%9C%88%EB%8F%84%EC%9A%B0%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%EB%B3%B4%EA%B3%A0%EC%84%9C%EB%A5%BC%20%EB%B0%98%EB%B3%B5%ED%95%98%EA%B3%A0%20%EC%A0%9C%EB%AA%A9%EC%9D%84%20%EC%B6%94%EC%B6%9C%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777751%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%EB%B0%94%EA%BF%94%EB%B3%B4%EC%84%B8%EC%9A%94%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(%EA%B4%84%ED%98%B8%EA%B0%80%20%EA%B0%80%EC%9E%A5%20%EC%A4%91%EC%9A%94%ED%95%A8)%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%EB%B3%B4%EA%B3%A0%EC%84%9C%EB%A5%BC%20%EB%B0%98%EB%B3%B5%ED%95%98%EA%B3%A0%20%EC%A0%9C%EB%AA%A9%EC%9D%84%20%EC%B6%94%EC%B6%9C%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777752%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%EC%A5%AC%ED%8B%B0%2C%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EC%A0%9C%EC%95%88%ED%95%B4%EC%A3%BC%EC%85%94%EC%84%9C%20%EA%B0%90%EC%82%AC%ED%95%A9%EB%8B%88%EB%8B%A4.%20%EC%9D%B4%EA%B2%83%EC%9D%80%20%EC%8B%A4%EC%A0%9C%EB%A1%9C%20%ED%8A%B8%EB%A6%AD%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4!%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%EC%9D%B4%EA%B2%83%EC%9D%B4%20%EC%99%9C%20%EB%8B%A4%EB%A5%B8%EC%A7%80%20%EB%AC%BC%EC%96%B4%EB%B4%90%EB%8F%84%20%EB%90%A0%EA%B9%8C%EC%9A%94%3F%20%EA%B4%84%ED%98%B8%EB%A1%9C%20%EB%AC%B6%EC%9D%80%20%EB%82%B4%EC%9A%A9%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9D%84%20%ED%95%A9%EB%8B%88%EA%B9%8C%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%EB%B3%B4%EA%B3%A0%EC%84%9C%EB%A5%BC%20%EB%B0%98%EB%B3%B5%ED%95%98%EA%B3%A0%20%EC%A0%9C%EB%AA%A9%EC%9D%84%20%EC%B6%94%EC%B6%9C%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777754%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%EC%9B%90%EB%9E%98%20%EB%B2%84%EC%A0%84%EC%97%90%EC%84%9C%EB%8A%94%20'%EB%A9%94%EC%8B%9C%EC%A7%80%20%EC%BA%90%EC%8A%A4%EC%BC%80%EC%9D%B4%EB%93%9C%3A'%EA%B0%80%20%EC%83%9D%EC%84%B1%EB%90%98%EC%97%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%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%EA%B2%B0%EA%B3%BC%EB%8A%94%20%EB%8F%99%EC%9D%BC%ED%95%9C%20%EA%B0%9D%EC%B2%B4%EC%97%90%20%EB%8C%80%ED%95%9C%20%EB%A9%94%EC%8B%9C%EC%A7%80%EC%9D%98%20%EC%97%B0%EC%86%8D%EC%9E%85%EB%8B%88%EB%8B%A4.%20%EA%B4%84%ED%98%B8%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EB%A9%B4%20%EC%B2%AB%20%EB%B2%88%EC%A7%B8%20%EB%A9%94%EC%8B%9C%EC%A7%80%20%EC%A0%84%EC%86%A1%20%EA%B2%B0%EA%B3%BC%EC%97%90%20%EB%91%90%20%EB%B2%88%EC%A7%B8%20%EB%A9%94%EC%8B%9C%EC%A7%80%EA%B0%80%20%EC%A0%84%EC%86%A1%EB%90%A9%EB%8B%88%EB%8B%A4.%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.