tag:blogger.com,1999:blog-1532151022505671498.post8641946944808747689..comments2024-03-12T15:33:25.350+01:00Comments on Delphi sorcery: Yield return and DelphiStefan Glienkehttp://www.blogger.com/profile/05509404049325709406noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1532151022505671498.post-78438305433008734842012-04-18T14:35:27.197+02:002012-04-18T14:35:27.197+02:00Ok, I am new to XE2 so was not aware of that.
The...Ok, I am new to XE2 so was not aware of that.<br /><br />The solution works very sweetly.Hugh Joneshttps://www.blogger.com/profile/15293660226931846394noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-49412354477382672002012-04-18T14:17:17.246+02:002012-04-18T14:17:17.246+02:00Hi Hugh,
if with "The IDE complains" yo...Hi Hugh,<br /><br />if with "The IDE complains" you mean Error Insight just ignore it. This feature is so broken with generics that it is better to turn it off instead of wondering about all the red squiggly lines.<br /><br />Also please be aware that I recently changed the name to TYieldEnumerable so its use is more clear.Stefan Glienkehttps://www.blogger.com/profile/09320735081289619570noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-11908889521312720392012-04-18T14:09:41.077+02:002012-04-18T14:09:41.077+02:00I have successfully implemented your solution in a...I have successfully implemented your solution in a test project and am pleased with the results.<br /><br />There is something odd, however; The IDE complains that TDelegateEnumerable does not exist. Despite this the project compiles and runs perfectly under all configurations and, perhaps odder still the code completion lists the class as I type.<br /><br />Any thoughts?Hugh Joneshttps://www.blogger.com/profile/15293660226931846394noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-32019889161851662312011-07-29T13:49:45.386+02:002011-07-29T13:49:45.386+02:00Oh damn, now you got me, no link to your original ...Oh damn, now you got me, no link to your original implementation.<br />Basically I went a step further eliminating most assembler code and adding the option to rely on threads instead of fibers.<br /><br />But I'm not trying to steal your credits anyway, lots of your work inspired me. :DStefan Glienkehttps://www.blogger.com/profile/09320735081289619570noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-39485317061102654212011-07-29T13:39:46.600+02:002011-07-29T13:39:46.600+02:00Similar stuff :)
http://www.delphi-forum.de/viewto...Similar stuff :)<br />http://www.delphi-forum.de/viewtopic.php?t=94597Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-58582696702194784712011-05-12T19:50:11.733+02:002011-05-12T19:50:11.733+02:00Ingenious!Ingenious!gabr42https://www.blogger.com/profile/06903558857617342477noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-56686451452034446422011-05-05T07:04:17.968+02:002011-05-05T07:04:17.968+02:00What do I think? I think that is really cool.What do I think? I think that is really cool.Nickhttps://www.blogger.com/profile/11064374653331712448noreply@blogger.com