Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
sdaiLogicalCompare Function
Syntax
C++
DAI_EXPORT int sdaiLogicalCompare(SdaiLogical value1, SdaiLogical value2);

The Logical Compare function that compares two values according to the ordering of the values of the EXPRESS LOGICAL data type.

Parameters
Description
value1
[in] The first value for comparision.
value2
[in] The second value for comparision.

If comparision operation was successful, the function returns one of the following values`:

  • +1 if value1 is greater than value2;
  • 0 if value1 is equal to value2;
  • -1 if value1 is less than value2.

File: sdai.h

Copyright © 2002-2022. Open Design Alliance All rights reserved.