Hi, Why is the usage of 'deprecated' inconsistent, depending where you use it. I'm using the ObjFPC compiler mode.
TRGBTriple = record Red: word; Green: word; Blue: word; Alpha: word; end deprecated; // <<- Note: no semi-colon after 'end'. vs TRGBTriple = record Red: word; Green: word; Blue: word; Alpha: word; end; deprecated; The last example makes more sense because it is a type of hint/modifier (similar to override, virtual etc), and that is how it is used in functions/procedures? eg: procedure MyProc; deprecated; function CalcMe(AParam: integer): boolean; deprecated; Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal