> On Dec 10, 2019, at 11:38 AM, Sven Barth via fpc-devel 
> <fpc-devel@lists.freepascal.org> wrote:
> 
> First of Object Pascal supports "array of const" which is safer due to a 
> added type field for each entry. 
> 

From the users standpoint only real difference is the [] syntax and if the 
array of const is the last (or only) parameter the compiler could infer it 
right? i.e.

DoThis(firstParam, [1,2,3]);

doesn't really need the [] in this case since the last parameters would have to 
be an array of const.

Regards,
        Ryan Joseph

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to