Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » ULValue class

 

StringCompare function

Compares strings, or string representations of ULValue class objects.

Syntax
ul_compare ULValue::StringCompare(
  const ULValue & value
)
Parameters
  • value   The comparison string.

Returns
  • 0 if the strings are equal.

  • -1 if the current value compares less than value.

  • 1 if the current value compares greater than value.

  • -3 if the sqlca of either ULValue class object is not set.

  • -2 if the string representation of either ULValue class object is UL_NULL.