Re: [fpc-pascal] AnsiStrLComp AnsiStrLIComp

2014-12-08 Thread Mattias Gaertner
On Mon, 8 Dec 2014 17:36:43 +0100 (CET) Michael Van Canneyt wrote: >[...] > > Michael, can you add a comment to this example, that runs beyond the > > strings: > > Testit('One string','One smaller string',255); > > ? There is no #0 character. So what does this example prove ? I'm not sure if ev

Re: [fpc-pascal] AnsiStrLComp AnsiStrLIComp

2014-12-08 Thread Michael Van Canneyt
On Mon, 8 Dec 2014, Mattias Gaertner wrote: On Mon, 8 Dec 2014 13:22:42 +0100 Jonas Maebe wrote: On 04 Dec 2014, at 16:24, Mattias Gaertner wrote: 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 n

Re: [fpc-pascal] AnsiStrLComp AnsiStrLIComp

2014-12-08 Thread Mattias Gaertner
On Mon, 8 Dec 2014 13:22:42 +0100 Jonas Maebe wrote: > > On 04 Dec 2014, at 16:24, Mattias Gaertner wrote: > > > 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

Re: [fpc-pascal] AnsiStrLComp AnsiStrLIComp

2014-12-08 Thread Jonas Maebe
On 04 Dec 2014, at 16:24, Mattias Gaertner wrote: 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 "c