Which version of Delphi changed `TStringList` implementation from `array[0..MaxListSize] of TStringItem` to `array of TStringItem`? I know XE has the first version and XE6 (and later) the second one. I don't want to install all versions can you check for me please... Thanks

Comments

  1. It  should be XE3 or XE4 - those which started modifying RTL to remove all the assembler code and make it LLVM-targeted

    ReplyDelete
  2. Using TStringList a lot, I didn't even notice.

    ReplyDelete
  3. XE4: TStringItemList = array of TStringItem;

    ReplyDelete
  4. Thank you Gustav Schubert. I was already able to verify that as well but I'm still unable to find other sources :-(. My guess is for XE2 because they changed TList to dynamic array as well (based on Embt wiki).

    ReplyDelete
  5. Roberio Praciano could you please change your vote since it's obviously not correct. Thanks...

    ReplyDelete
  6. XE2: TStringItemList = array of TStringItem;
    (System.Classes, line 660)

    ReplyDelete
  7. Voting seems entirely inappropriate. There is a single answer!

    ReplyDelete
  8. David Heffernan Well if the question was framed differently we could vote in a meaningful way, but as is you're right.

    ReplyDelete
  9. David Heffernan yeah I realized that too at first I thought it would make stuff easier if someone who knows would just need to do one click. But then I figured it will only lead to confusion unfortunately it was too late. Of I was interested in the only correct answer (thanks Gustav Schubert).

    ReplyDelete
  10. There are rumors about a country where they actually vote over facts being true or not.

    ReplyDelete
  11. Uwe Raabe
    Yes democracy is alive and well in the DPRK.

    ReplyDelete

Post a Comment