[fpc-pascal] Pascal arrays vs TStringList.DelimitedText

Francisco Reyes lists at stringsutils.com
Fri Mar 20 17:07:38 CET 2009


Paul Nicholls writes:

> Hi Francisco, regular arrays can start at whatever index you want:
> Var
>     MyArray1 : Array[1..3] Of Integer;

Thanks for the info and examples. 

> Dynamic Arrays :
>     MyDynamicArray : Array Of Integer;
.. 
> These always start with a zero index.

This is very usefull too.
I will check when I use a class for the first time. I guess most 
will start at zero then since the classes probably use dynamic arrays.



More information about the fpc-pascal mailing list