On 14 May 2010, at 16:52, Mattias Gaertner wrote: > "var" means, you can do this: > > type > TQStrings = class(TStrings) > end; > > procedure A(var s: TStrings); > begin > s:=TQStrings.Create; > end; > > Then your TStringList will no longer be a TStringList. That's why 'var' > must match exactly.
This is also documented at http://wiki.freepascal.org/User_Changes_Trunk , the first place to look when switching from the fixes branch to trunk. Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel