TwoDesk Delphi Blog – Let’s talk for a bit about how dynamic arrays work “behind the scenes.” First, a dynamic array primer. If you’re already comfortable with the use of dynamic arrays, you can skip this section: In the old days, when you needed an array in your Delphi program, the array had to be static, which meant its size had to be known at the time you wrote your code. Those look like this: var Nums: array[0..8] of Integer; Way back in Delphi 4, dynamic arrays were added to the language. Dynamic arrays can vary in size. You don’t need to declare its size when you write your ...
Visits by Source
Users who voted for this posting
Jørn E. Angeltveit
Kyle A. Miller