[fpc-devel] Syntax problem with function result

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Jul 28 21:56:04 CEST 2010


Daniƫl Mantione schrieb:

> If I understand it well this patch will disable not only the fpc 
> externsion:
> 
> writeln(name_of_function);
> 
> ... but also the standard Pascal:
> 
> name_of_function:=value;
> 
> Why would we want to disable the standard Pascal solution?
> Why not disable the Borland "result" extention?

TP mode can be handled differently from the other modes, never affected 
by this option. But this should be mentioned in the documentation, else 
some people may wonder why the option doesn't work in their legacy code.

DoDi




More information about the fpc-devel mailing list