Contents

Comparison Operator Constants

Specify a comparison operation to perform on two operands.

Overview

When you call the CreateCompDescriptor(_:_:_:_:_:) function, you pass one of these comparison operators in the comparisonOperator parameter. The CreateCompDescriptor function creates a comparison descriptor that specifies how to compare one or more Apple event objects with either another Apple event object or a descriptor.

The actual comparison of the two operands is performed by the object comparison function provided by the client application—see OSLCompareProcPtr. The way a comparison operator is interpreted is up to each application.

For related information, see Constants for Object Specifiers, Positions, and Logical and Comparison Operations.

Topics

Constants