Re: [fpc-pascal] StrIComp

2023-04-29 Thread Bart via fpc-pascal
On Sat, Apr 29, 2023 at 10:30 PM Thomas Kurz via fpc-pascal
 wrote:

> Is it intentional that StrIComp (from the strings unit) gives an access 
> violation if one of its arguments is NIL?

Yes.
Delphi does so too.

-- 
Bart
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] StrIComp

2023-04-29 Thread Thomas Kurz via fpc-pascal
Just a very minor question:

Is it intentional that StrIComp (from the strings unit) gives an access 
violation if one of its arguments is NIL?

I hardly work with PChars so this is a serious question from me.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal