[fpc-devel] Syntax problem with function result

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Jul 28 15:10:22 CEST 2010


Florian Klaempfl schrieb:

>> IMO we should have at least an option, that a function name can *not* be
>> used for the function result any more, for the result we have the Result
>> variable. Then we can safely distinguish between function calls (by
>> function name) and results (by "Result"). If ever required, local
>> functions still can refer to the result of some enclusing function, by
>> e.g. qualified <function_name>.Result.
>>
> 
> I think for this purpose a hint is enough.

Can it be implemented ASAP, or is a feature request required?

DoDi




More information about the fpc-devel mailing list