[fpc-pascal] AnsiCompareStr question (again...)
Bart
bartjunk64 at gmail.com
Sat Mar 5 23:51:47 CET 2016
On 3/5/16, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
> One probably includes cwstring, while the other one doesn't.
> AnsiCompareStr can be intercepted/replaced by widestring manages such as
> cwstring.
Sample from above on Linux 32-bit:
[bart at localhost ConsoleProjecten]$ ./test
AnsiCompareStr('C-C','C=C') = -16
Same program, but now added cwstring to uses clause:
[bart at localhost ConsoleProjecten]$ ./test
AnsiCompareStr('C-C','C=C') = 28
CompareStr returns -16 in both win32 and linux-32 b.t.w.
Bart
More information about the fpc-pascal
mailing list