[fpc-pascal] Range checks
    Dmitry Boyarintsev 
    skalogryz.lists at gmail.com
       
    Sat Jan 27 19:31:45 CET 2018
    
    
  
On Sat, Jan 27, 2018 at 12:51 PM, Dmitry Boyarintsev <
skalogryz.lists at gmail.com> wrote:
>
> imho, bad approach to adjust compiler for not safe code.
> However, getting a compiler warning would be nice.
>
> Some time ago, the compiler has been extended with for-in syntax:
>
> var
>   SubView : NSView;
> begin
>   for SubView in ns.subviews do
>
That requires objectivec2 though
https://www.freepascal.org/docs-html/ref/refse76.html#x138-16000011.10
(min version is macOS 10.5)
thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180127/ffc0e8fd/attachment.html>
    
    
More information about the fpc-pascal
mailing list