1. Computing


Arrays allow a developer to refer to a series of variables by the same name and to use a number (an index) to tell them apart.

In most scenarios, you declare an array as a variable - thus allowing for array elements to be changed at run-time.

Sometimes, you need to declare a constant array - a read-only array. You cannot change the value of a constant or a read-only variable. Therefore, while declaring a constant array you have to initialize it.

The tip shows you how to Declare and Initialize Constant Arrays in Delphi

Related: Understanding Arrays Types in Delphi | Understanding Record Data Types in Delphi | Variables and Parameters in Delphi

Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.