10
votes
Vote UpVote

Dynamic arrays: how they work and how to use them

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 ...
Favorite? Off-Topic? jacob @ 2014-01-28 15:00

Statistics

Visits: 1376
Votes: 10
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
corus
Jim McKeeth
Jørn E. Angeltveit
Kryvich
Kyle A. Miller
Martijn Coppoolse
Neonimous
Primoz Gabrijelcic
TOndrej
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)