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

L505 fpc505 at z505.com
Tue Jun 7 15:54:42 CEST 2005


| >> 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.
|
| Fixed for delphi mode only

{$MODE slacker}
Good idea, only for slacker mode.. real coders using real object pascal will not abuse
this delphi slack-off style code ;-)





More information about the fpc-devel mailing list