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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to