什么时候推出了扩展记录? [英] When were extended records introduced?

查看:145
本文介绍了什么时候推出了扩展记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Delphi 7中,您的记录只不过是分组到一个位置的数据集合。在最近的几个版本中,您可以向其添加公共和私有成员,方法,属性和构造函数,将它们对象更多地对象处理。这个扩展语法中引入了什么版本?

In Delphi 7, you a record was nothing more than a collection of data grouped into one location. In the last few versions, you've been able to add public and private members, methods, properties and constructors to them, treating them a lot more like objects. What version was this extended syntax introduced in?

编辑:如果有人想知道为什么要问,我试图设置一些可以简化的东西通过使用扩展语法,但是我想使它与旧版本的Delphi向后兼容,所以我需要知道要使用哪个IFDEF。

In case anyone wonders why I'm asking, I'm trying to set up something that would be simplified quite a bit by using the extended syntax, but I want to make it backwards-compatible with older versions of Delp so I need to know which IFDEFs to use.

推荐答案

我很确定在Delphi 2006中引入了方法记录。

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

这篇关于什么时候推出了扩展记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆