[fpc-pascal]char 0 in ansistrings

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Dec 2 08:38:17 CET 2003


On 2 dec 2003, at 07:59, Mark Emerson wrote:

> Is it *absolutely safe* to include chr(0) in an ansistring and have it 
> get treated like any other character?  Or is there some instance where 
> it will cause different behavior than other chars?

Only if you typecast your ansistring to a pchar.


Jonas





More information about the fpc-pascal mailing list