English 中文(简体)
Delphi: Array of TVarRec vs. varArray
原标题:Delphi: Array of TVarRec vs. varArray

我想使用各种类型的开放式阵列(见[string ,12,123.21])。 在我搜查期间,我找到了两种办法。 其中一个是array of TVarRec,另一个是var Array。 我认为,TVarRec阵列是最佳选择,因为它似乎更轻重,而另一方面,varArray已经有一些执行,如果我想要使用TVarRec的阵列,我就不得不制造。

是否有人对这两种方法的使用有任何看法?

最佳回答

可否使用变式的<代码>?

问题回答

如果你寻找一个开放式变量阵列,解决办法是<条码>。

。 http://rvelthuis.de/articles/articles-openarr.html”rel=“noretinger”>Rudy Velthuis article





相关问题
determining the character set to use

my delphi 2009 app has a basic translation system that uses GNUGetText. i had used some win API calls to prepare the fonts. i thought it was working correctly until recently when someone from Malta ...

Help with strange Delphi 5 IDE problems

Ok, I m going nuts here. For the last (almost) four years, I ve been putting up with some extremely bad behavior from my Delphi 5 IDE. Problems include: Seemingly random errors in coride50.bpl ...

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How convert string to integer in Oxygene

In Delphi, there is a function StrToInt() that converts a string to an integer value; there is also IntToStr(), which does the reverse. These functions doesn t appear to be part of Oxygene, and I can ...

Quick padding of a string in Delphi

I was trying to speed up a certain routine in an application, and my profiler, AQTime, identified one method in particular as a bottleneck. The method has been with us for years, and is part of a "...

热门标签