Am 06.02.2016 18:06 schrieb "Michael Van Canneyt" <[email protected]>: > > > > 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.
The answer is no longer correct with current Delphi versions. It now is "because we haven't implemented it yet". Regards, Sven
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
