El 17/12/2015 a las 11:35, Sven Barth escribió: > > Am 17.12.2015 11:18 schrieb "Santiago A." <[email protected] > <mailto:[email protected]>>: > > 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 [email protected]
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
