Am 22.10.2013 11:36, schrieb Lukasz Sokol:
On 22/10/13 09:35, Michael Schnell wrote:
On 10/22/2013 10:24 AM, Sven Barth wrote:
I didn't know until around 1 or 2 years ago that "<" and ">" are supported on
strings at all
Nice try O:-)
-Michael
--
And (probably) overloaded operators are your friends here?
operator < (S1, S2: UTF8String) b : boolean;
begin
b := (compareUTF8String(s1, s2, comparemode) < 0)
end;
Nope, because Strings already have the "<" and ">" operators defined you
can not overload them.
Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus