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

gt~ Reference

Greater than operator

gt~

Examples

Inlets

Left Operand [auto]

Left operand to be compared. Event version triggers comparison.

Right Operand [auto]

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

Outlets

Left > Right [signal]

Returns 1 if the left input is greater than the right input. Returns 0 otherwise.

Dynamic Attributes

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

in1 [auto]

Left operand to be compared. Event version triggers comparison.

in2 [auto]

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
lt Less than operator
gte Greater than or equal operator