On Mon, Sep 14, 2009 at 11:28:57PM +0200, Hans-Peter Diettrich wrote: > Graeme Geldenhuys schrieb: > > > The pascal language generally has modifiers at the end of a declaration. > > Right, and the syntax sucks :-( > (all the semicolons should be removed from the modifiers, with a single > semicolon terminating a declaration)
IMHO since some modifiers can have parameters, that is yet another kludge. GPC uses [modifier1 arg1,modifier2] iirc, which is better. > > Now Object Pascal parsers and compilers must all be modified to look for > > modifiers infront and after a declaration. At is purely C# syntax, not > > Object Pascal syntax! Hasn't CodeGear learnt there lesson with .NET yet?? > > IMO they have learned that copy&paste is an essential RAD method. In so > far I understand that copying C# declarations into OPL source code > simplifies interfacing with the rest of the world. I can't really imagine a realworld scenario here. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
