When were extended records introduced?

守給你的承諾、 提交于 2019-12-01 20:34:36

I'm pretty sure records with methods were introduced in Delphi 2006.

I suggest you to take a look at JCL library. It contains a very useful jedi.inc file, where you can find all kind of definitions for features, specifically there is:

  SUPPORTS_ENHANCED_RECORDS      Compiler supports class [operator|function|procedure] for record types (D9.NET, D10+)

So, records with methods were introduced in Delphi 2005 (.NET) and Delphi 2006 (Win32)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!