How to prevent a 'JMP - Caution Alert' from popping-up<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Hi!
I need some help on preventing a popup messge saying:
JMP - Caution Alert
Check script for using an assignment with single = where a test for equality with double == is normally expected.
How can this be disabled?
I am running a script manually and this keeps popping-up. I have no problems in my usage of the 'equal sign'...
Thanks in advance!
Re: How to prevent a 'JMP - Caution Alert' from popping-upThanks a lot!
I can't believe I missed the double equals (though I remember that I also tried that at some point).
Thanks also for emphasizing the semicolons. I learned something new today.
Cheers! 
Re: How to prevent a 'JMP - Caution Alert' from popping-upThat fragment should look like this:
if (
i==1,yscalemin=88;yscalemax=100;yscaleincrement=2;minorticks=1,
i==2,yscalemin=0;yscalemax=6;yscaleincrement=2;minorticks=1,
yscalemin=0;yscalemax=3;yscaleincrement=0.5;minorticks=4
);
Notice the double equals which the lack of caused your error message. Notice also the semicolons where you had commas, and the removal of the curly brackets.
Re: How to prevent a 'JMP - Caution Alert' from popping-upThis is just portion of the code:
if (
i=1,{yscalemin=88,yscalemax=100,yscaleincrement=2,minorticks=1},
i=2,{yscalemin=0,yscalemax=6,yscaleincrement=2,minorticks=1},
{yscalemin=0,yscalemax=3,yscaleincrement=0.5,minorticks=4}
);
I was trying to make a loop wherein the y-axis was supposed to have variable arguments which would depend on the index number of my array.
That was another problem in itself: I can't make the variables within the loop to work properly, so I just decided to make the values constant.
Anyway, knowing how to disable the popup may still be helpful in the future.
Re: How to prevent a 'JMP - Caution Alert' from popping-upCan you post the "offending code"? I'm curious why JMP would mistakenly flag some JSL this way.