Iván Montes schrieb:
Hi,I think so, too... but I don't have time to check this now, sorry, hopefully somebody else has.
Maybe it's how it's supposed to be but if use :
compareStr( 'hello', 'hello-bye' )
I get 0, so they are equal.
If one string is bigger than the other they should be different, isn't it?
You can just use "=" for ShortString, AnsiString and WideString comparisons. "=" just doesn't work for PChar or PWideChar strings.Otherways what can I use to check if two ansistrings are different?
- Sebastian
_______________________________________________
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal