Hi,

According to the docs AnsiStrLComp treats #0 as normal characters,
which sounds as if it does not stop at #0.
Does it stop at #0 or does it not?
http://www.freepascal.org/docs-html/rtl/sysutils/ansistrlcomp.html

The doc of AnsiStrLIComp says "compares the first MaxLen characters",
which sounds as if it does not stop at #0.
OTOH the examples seems to stop at #0.
Does it stop at #0 or does it not?
http://www.freepascal.org/docs-html/rtl/sysutils/ansistrlicomp.html

The docs of AnsiStrComp and AnsiStrIComp clearly state they stop at #0.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to