[fpc-devel] Comparing arrays of char

Michael Schnell mschnell at lumino.de
Tue Nov 3 10:27:26 CET 2009


Jonas Maebe wrote:
> a) if the array is zero-based (i.e., lower bound is 0), then the array
> of char is treated as a null-terminated string
> b) if the array is non-zero-based, then the array of char is always
> checked completely

I did a test with Turbo-Delphi and here even a 1-based array of char is
only checked until a #0 is found :(

-Michael



More information about the fpc-devel mailing list