|
From: Thomas H. <Tho...@gm...> - 2009-01-17 10:01:49
|
Hans-Peter Diettrich schrieb: > Thomas Hummes schrieb: > > >>>> This is not really correct. To use e.g. a generic TObjectList you >>>> need to include the unit "Generics.Collections" and may then write >>>> something like: >>>> >>>> type TMyList = TObjectList<TStringList>; >>>> >>>> This creates a generic descendant of TObjectList containing >>>> TStringLists. >>>> > > Is this really correct? > I've added this construct to the test unit. > Not really, I forgot the class(...). :-[ Correct would be type TMyList = class(TObjectList<TStringList>); > > >> I attached a test unit with all basic samples needed to use existing >> generics. >> > > Thanks :-) > > I've updated the parser, and added your unit to the test directory > (everything only in the PasDoc2 branch). > Since I cannot compile PasDoc2 or PasDoc with Delphi 2009 (Problems with Unicode-String), is there any directory in the SVN with compiled versions (pasdoc.exe)? > The <...> part is added to the declaration, but not to the ancestor list. > > > BTW, I had some hardware problems (rapidly extending disk failures), and > have moved my PasDoc VM to another drive. This problem prevented me from > finishing a distribution of PasDoc2 for Christmas. Today SVN found some > conflicts, which I hope to have fixed now. > > I'm also familiarizing with Lazarus, perhaps I can port the D7 GUI to > Lazarus in the next time (months). > > DoDi > Some time ago, I started to develop myself a gui because the pasdoc-gui was not able to produce several output formats and call HTML Help Workshop afterwards, automatically. It will definetly not compile with Lazarus, but if you are interested, I can review and comment it and you could put it in the SVN as well. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Pasdoc-main mailing list > Pas...@li... > https://lists.sourceforge.net/lists/listinfo/pasdoc-main > > |