On 16/11/2011 16:06, Martin wrote:

As mentioned before by someone else: length does read a field from the string, which does not exist in pchar (hence string can contain #0 and pchar can not).

Ok, before someone comments on this:

pchar can contain #0

but for automatic string conversation the 0 has special meaning
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to