CompareValues.Compare

Syntax:

Compare(<Value1>, <Value2>)

Parameters:

<Value1> (required)

Type: Arbitrary.
The first comparison value.

<Value2> (required)

Type: Arbitrary.
The second comparison value.

Returned value:

Type: Number.
If the result is < 0, the first value is less than the second.
If the result is > 0, the first value is greater than the second.
If the result is = 0, the first value is equal to the second.

Description:

Compare two values.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community