Comparison Routines

From RAD Studio
Jump to: navigation, search

Go Up to API Categories Index

This topic lists all comparison routines used in the Delphi run-time library.

Routine Description

System.Classes.CollectionsEqual

Compares the contents of two collections.

System.DateUtils.CompareDate

Indicates the relationship between the date portions of two System.TDateTime values.

System.DateUtils.CompareDateTime

Indicates the relationship between two System.TDateTime values.

System.SysUtils.CompareMem

Performs a binary comparison of two memory images.

System.SysUtils.AnsiCompareStr

Compares two strings based on the current locale with case sensitivity.

System.SysUtils.CompareStr

Compares two strings with case sensitivity.

System.SysUtils.AnsiCompareText

Compares two strings based on the current locale without case sensitivity.

System.SysUtils.CompareText

Compares two strings for equality without case sensitivity.

System.DateUtils.CompareTime

Indicates the relationship between the time portions of two System.TDateTime values.

System.Math.CompareValue

Returns the relationship between two numeric values.

System.Math.EnsureRange

Returns the closest value to a specified value within a specified range.

System.Math.IfThen

Conditionally returns one of two specified values.

System.Math.InRange

Indicates whether a value falls within a specified range.

System.Math.SameValue

Indicates whether two floating-point values are (approximately) equal.

System.Variants.VarCompareValue

Returns the relationship between Variants.

System.SyncObjs.TInterlocked.CompareExchange

Compares two values and, if they are equal, replaces one of them with a different value.


See Also

Code Examples