> On Feb 21, 2018, at 4:09 PM, Mattias Gaertner <nc-gaert...@netcologne.de> > wrote: > > I doubt that many would be using scopedenums for that.
why not? Scoped enums did clean that up a little but still lots of extra typing during assignments and parameters. That compared to the previous is a still win though (less code is always a good thing). {$scopedenums on} type TTileSortingFlag = ( Static, Ramp, Ignore, Particle, Floor, Flat, Container, OnRamp, BufferStatic, BufferDynamic ); {$scopedenums off} Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal