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!
Can you post the "offending code"? I'm curious why JMP would mistakenly flag some JSL this way.
This is just portion of the code:
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.
That fragment should look like this:
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.
Thanks 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.
There are no labels assigned to this post.