Comparing composites

When composites are compared in boolean expressions, the corresponding components of the composite are compared. For the composite comparison to be true, the comparison between the corresponding components must be true for all components of the composites. Otherwise, the comparison will return a value of false.

For example, these two composites are compared to determine whether they are equal.

AB-349

AB-375

 

The composites contain two components, so two comparisons are made: AB = AB and 349 = 375. The first comparison is true, but the second is not, so false is returned for the entire comparison.

 


Documentation Feedback