<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Hi Guys I have a problem when I run this code on JMP 11, its crashes out but works on JMP 10.
Basically i run the for loop below that edits columns and it works fine but once i run a partition analysis after, it crashes. Both subsets of code work fine on their own, if i just run the partition analysis it works fine, if i just run the for loop it works fine, so i believe its an interaction between the two on JMP 11. This code works perfect on JMP 10, any ideas?
for(i=1,i<=nitems(colNames),i++,
if(!contains({"EQUI","SLOT","DOSE"},substr(colNames,1,4)),continue());
summarize(b=by(column(dt1,colNames)),n=count());
if(nitems(b)<2 | sum(n<6)<1,continue());
ex={};insert into(ex,b[loc(n<6)]);
eval(parse("r=dt1<||"\!")))"));
if(nrow(r)==0,continue());
column(dt1,colNames)=empty();
);
pat = Partition(
Y( eval(yCol) ),
X( eval(xCols) ),
);

I tried wait(0); but no joy, it seems like a JMP 11 bug, here's the error message:

Try putting wait(0); between the two code pieces. That will allow JMP to catch up to itself.