A newer version of Max is available. Click here to access the latest version of the Max documentation

neq Reference

Not equals operator

neq

Examples

Inlets

Left Operand [number]

Left operand to be compared. Event version triggers comparison.

Right Operand [number]

Right operand to be compared. Event version must trigger the left inlet in order to perform comparison.

Outlets

Left != Right [number]

Returns 1 if the two inputs are not equal and 0 if the two inputs are equal.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: 0)

All inlets trigger calculation.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [number]

Left operand to be compared. Event version triggers comparison.

in2 [number]

Right operand to be compared. Event version must trigger the left inlet in order to perform comparison.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
eq Equals operator
neqp Not equals / pass operator
This website uses cookies
Clicking "Accept" means you consent to your data being processed and you'll let us use cookies and other technologies to process your personal information to personalize and enhance your experience. Click "Close" to deny consent and continue with technically required cookies that are essential for the website to function.