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

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

 

StringCompare function

Synopsis
ul_compare ULValue::StringCompare(
  const ULValue & value
)
Parameters
  • value¬†¬† The comparison string.

Remarks

Compares strings, or string representations of ULValue class objects.

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.