I have the following logic in my code
if((leftCombo.getSelectedIndex() !> rightCombo.getSelectedIndex())&&(rightCombo.getSelectedIndex() !< leftCombo.getSelectedIndex())
Doing something wrong obviously.
Here are the errors
Scene 1, Layer 'Layer 1', Frame 1, Line 112 1084: Syntax error: expecting rightparen before not.
Scene 1, Layer 'Layer 1', Frame 1, Line 112 1084: Syntax error: expecting identifier before logicaland.
Scene 1, Layer 'Layer 1', Frame 1, Line 112 1084: Syntax error: expecting semicolon before not.
Thanks
!> and !< are not valid operators….
This is easily seen by your error traces:
The not operator (!) is found, next to an invalid token (<) and the error arises.
What are you trying to say?
Assuming !> means “not greater than”, then you should use <=
Assuming !< means “not less than”, then you should use >=