C++
Adesk::Int32 compare( const wchar_t * pwsz ) const;
Description
Compares the string to a string of Unicode characters.
Parameters
Parameters | Description |
---|---|
pwsz | Input pointer to the string of characters to compare to |
Returns
0 if this string equals pwsz, a value < 0 if this string is less than pwsz and a value > 0 if this string is greater than pwsz.
Links
Previous Declaration
AutoCAD 2024 and earlier
ACBASE_PORT int compare(const wchar_t *pwsz) const;
History
AutoCAD 2025
Function now returns Adesk::Int32 instead of int.