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

SQL Anywhere 11.0.1 (日本語) » Ultra Light - C/C++ プログラミング » API リファレンス » Ultra Light C++ API リファレンス » ULValue クラス

 

StringCompare 関数

文字列、またはULValue クラスオブジェクトの文字列表現を比較します。

構文
ul_compare ULValue::StringCompare(
  const ULValue & value
)
パラメータ
  • value   比較文字列。

戻り値
  • 文字列が同じ場合は、0。

  • 現在の値が value より小さい場合は、-1。

  • 現在の値が value より大きい場合は、1。

  • いずれかのULValue クラスオブジェクトで sqlca が設定されていない場合は、-3。

  • いずれかのULValue クラスオブジェクトの文字列表現が UL_NULL の場合は、-2。