On Sat, Jan 27, 2018 at 12:51 PM, Dmitry Boyarintsev < skalogryz.li...@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
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal