Recent

Author Topic: Are these newly added methods?  (Read 1698 times)

egsuh

  • Hero Member
  • *****
  • Posts: 1289
Are these newly added methods?
« on: September 26, 2021, 06:30:00 am »

I found TStringList.OwnsObjects, TStrings.TObjectArray(), TStrings.ToStringArray(), etc. now. Are these methods/properties added recently or I just have not known them yet? The documented dates are May 14th 2021.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Are these newly added methods?
« Reply #1 on: September 26, 2021, 08:20:20 am »
TStringList.OwnsObjects,
existed for ages

TStrings.TObjectArray(), TStrings.ToStringArray(), etc. now.
these are note released yet https://gitlab.com/freepascal.org/fpc/source/-/issues/36837
..seems like gitlab issues "release version information" is showing nonsense!
but if we trust the dates of "notes" then the methods were added a year ago. (since 3.2.0?)

Are these methods/properties added recently or I just have not known them yet?
from the technical perspective the question is irrelevant.
If a method did exist, but you didn't know about its existence, there's nothing wrong with using your own implementation anyway.
« Last Edit: September 26, 2021, 08:24:07 am by skalogryz »

PascalDragon

  • Hero Member
  • *****
  • Posts: 5469
  • Compiler Developer
Re: Are these newly added methods?
« Reply #2 on: September 27, 2021, 09:05:51 am »
TStrings.TObjectArray(), TStrings.ToStringArray(), etc. now.
these are note released yet https://gitlab.com/freepascal.org/fpc/source/-/issues/36837
..seems like gitlab issues "release version information" is showing nonsense!
but if we trust the dates of "notes" then the methods were added a year ago. (since 3.2.0?)

Mantis conversion information says that it was added in 3.3.1 and never merged back to 3.2.x.

 

TinyPortal © 2005-2018