On 2015-05-11 14:10, misu kun wrote: > Hi > what is the equivalence of this code using mode objfpc ? > btw , it compile fine with {$mode delphi}
See: http://wiki.freepascal.org/Generics Also look at the FPC Language Reference documentation for Generics. The syntax is slightly different to Delphi. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal