[fpc-devel] Comparing arrays of char

Michael Schnell mschnell at lumino.de
Mon Nov 2 14:09:20 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

The Delphi behavior sounds not very obvious :(.

Is this true as well for arrays of char as for arrays of byte ?


More information about the fpc-devel mailing list