[fpc-devel] Re: KOL for freepascal (was: Extend the librariespeople!)

Jonas Maebe jonas at zeus.ugent.be
Tue Jun 7 14:23:46 CEST 2005


On 7 jun 2005, at 14:15, Marco van de Voort wrote:

> procedure x (const str: string);
> begin
>   filewrite (filedescriptor,pchar(str+#13#10)^,length(str)+2);
> end;

I do not think this should work. You can't pass the address of a temp 
like this.


Jonas





More information about the fpc-devel mailing list