On Sat, 6 Feb 2016, Aradeonas wrote:

Michael can I ask why we cant do something like this :
 MyArr :=[10, 20, 30, 40];   

Because of 2 reasons:

1. Delphi introduced the create constructor.

2. A literal such as [10,20,30,40] is a set in pascal, not an array.


Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to