[fpc-pascal] Metaware

Luca Olivetti luca at ventoso.org
Tue Jun 19 10:57:25 CEST 2007


En/na Mark Wood ha escrit:
> 
>>> I have found that there are some functional differences that Metaware has over
>>> fpc, one example is the yield() function which returns the intermediate result
>>> of a function call.
>>>     
>>
>> ?
>>   
> '?' indeed! I am fascinated! What does yield do exactly... presumably it 
> returns a result from the function without closing down that instance of 
> the function? Amazing concept. I am still trying to work out how that 
> could be useful or even how it could be used (without breaking stuff 
> upstream).

Maybe it's something similar to this?

http://www.ibm.com/developerworks/library/l-pycon.html

Bye
-- 
Luca




More information about the fpc-pascal mailing list