TSizeUIntDynArray and TSizeIntDynArray lazarus / 64-FPC development ---------------------------------------------------------------------- LemonParty · 2025-10-14 16:03 I think given types should be added to unit Types. ---------------------------------------------------------------------- Thausand · 2025-10-14 16:19 Quote from: LemonParty on October 14, 2025, 06:03:47 pmI think given types should be added to unit Types. QuoteTSizeUIntDynArray No !, Size is sign int (when use for index). QuoteTSizeIntDynArrayCode: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  type TSizeIntDynArray   = specialize TArray; Done ---------------------------------------------------------------------- LemonParty · 2025-10-14 17:00 QuoteNo !, Size is sign int (when use for index).What do you mean by that? ---------------------------------------------------------------------- Thaddy · 2025-10-14 17:01 sizes can not be negative????? So are always unsigned. ---------------------------------------------------------------------- H₂SO₄ · 2025-10-15 05:32 These types are trivial to define and also assignment-compatible when defined multiple times in different units, so I see no point in this. I'd leave this to the programmer. If anything, I'd like  TIntegerArray  to be removed from  objpas.  Why pollute the namespace with a historical hack that only exists to emulate raw pointers? Why is a fixed-size 960 MiB block of integers considered important enough to be defined in  objpas  of all places? (I know it's for historical reasons and should not be removed - it's just funny to see archaic 16-bit era  ifdefs  fifteen lines above  generic TArray = array of T;   ) ---------------------------------------------------------------------- Thausand · 2025-10-16 06:58 Quote from: LemonParty on October 14, 2025, 07:00:10 pmQuoteNo !, Size is sign int (when use for index).What do you mean by that? I make sorry. As write Thaddy I make dumdum mistake when write that and was confuse with index iterator (must signed with for loop).