El 17/12/2015 a las 11:35, Sven Barth escribió: > > Am 17.12.2015 11:18 schrieb "Santiago A." <s...@ciberpiula.net > <mailto:s...@ciberpiula.net>>: > > I can live with no passing them as var parameters, but I thing it is a > > little cumbersome for setting fields. I will try using pointers. > > What do you mean with var-parameters? >
I can't use the field as actual parameter of function with a var parameter: function foo(var n:integer); begin n:=n+1; end; foo(myObject.Reg.fieldReg) -- Saludos Santi s...@ciberpiula.net
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal